Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Automation / Peers / ContextMenuAutomationPeer.cs / 1305600 / ContextMenuAutomationPeer.cs
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Windows; using System.Windows.Automation.Provider; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Interop; using System.Windows.Media; using MS.Internal; using MS.Win32; namespace System.Windows.Automation.Peers { /// public class ContextMenuAutomationPeer : FrameworkElementAutomationPeer { /// public ContextMenuAutomationPeer(ContextMenu owner): base(owner) { } /// override protected string GetClassNameCore() { return "ContextMenu"; } /// override protected AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.Menu; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Windows; using System.Windows.Automation.Provider; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Interop; using System.Windows.Media; using MS.Internal; using MS.Win32; namespace System.Windows.Automation.Peers { /// public class ContextMenuAutomationPeer : FrameworkElementAutomationPeer { /// public ContextMenuAutomationPeer(ContextMenu owner): base(owner) { } /// override protected string GetClassNameCore() { return "ContextMenu"; } /// override protected AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.Menu; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EndOfStreamException.cs
- oledbmetadatacollectionnames.cs
- XmlSchemas.cs
- Merger.cs
- DbParameterCollection.cs
- MarkupWriter.cs
- WebPartDisplayModeCollection.cs
- TraceSource.cs
- ResourceCategoryAttribute.cs
- XmlC14NWriter.cs
- AttachedPropertyDescriptor.cs
- PassportAuthenticationEventArgs.cs
- IdentityNotMappedException.cs
- Shared.cs
- BoolExpr.cs
- AliasExpr.cs
- AuthenticationSection.cs
- NativeMethods.cs
- LeftCellWrapper.cs
- StateDesigner.cs
- ScriptControlDescriptor.cs
- BindingValueChangedEventArgs.cs
- XPathAncestorQuery.cs
- AttachmentCollection.cs
- RequestTimeoutManager.cs
- ScrollableControl.cs
- MsmqException.cs
- XmlLangPropertyAttribute.cs
- TriggerAction.cs
- HttpModulesSection.cs
- IPAddress.cs
- DbDeleteCommandTree.cs
- DesignTableCollection.cs
- SecurityTokenAttachmentMode.cs
- WinEventQueueItem.cs
- KeyInfo.cs
- ParallelEnumerable.cs
- BinHexEncoding.cs
- CodeTypeDeclarationCollection.cs
- OracleRowUpdatingEventArgs.cs
- RankException.cs
- DrawingGroup.cs
- MissingSatelliteAssemblyException.cs
- QilTargetType.cs
- GradientStop.cs
- InstancePersistenceCommand.cs
- DynamicQueryableWrapper.cs
- AssemblyAttributes.cs
- CommandTreeTypeHelper.cs
- ReachSerializableProperties.cs
- Constant.cs
- WebRequestModuleElementCollection.cs
- ClassDataContract.cs
- SqlDataSourceCustomCommandPanel.cs
- Stack.cs
- Command.cs
- ChangeBlockUndoRecord.cs
- ArrayElementGridEntry.cs
- StrokeSerializer.cs
- XDRSchema.cs
- UIElement3D.cs
- Pair.cs
- Propagator.cs
- Transform.cs
- PairComparer.cs
- DrawingBrush.cs
- BaseCollection.cs
- FakeModelItemImpl.cs
- SectionXmlInfo.cs
- WorkflowServiceOperationListItem.cs
- ConditionalWeakTable.cs
- Error.cs
- ColumnWidthChangedEvent.cs
- RepeatButtonAutomationPeer.cs
- DecimalAnimationUsingKeyFrames.cs
- GlyphCollection.cs
- FileAuthorizationModule.cs
- DataFieldEditor.cs
- CryptoApi.cs
- ListSortDescriptionCollection.cs
- ResourceContainer.cs
- DbLambda.cs
- MimeMultiPart.cs
- DocumentGridPage.cs
- StylusPoint.cs
- IpcServerChannel.cs
- PlanCompiler.cs
- ReadOnlyDataSource.cs
- KeyTime.cs
- ComponentCollection.cs
- EventProviderWriter.cs
- TagPrefixCollection.cs
- CodeDelegateInvokeExpression.cs
- DrawingVisualDrawingContext.cs
- TextElementCollection.cs
- ResponseBodyWriter.cs
- QueryLifecycle.cs
- HostProtectionPermission.cs
- ContextStaticAttribute.cs
- PersonalizationDictionary.cs