Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Automation / Peers / ContextMenuAutomationPeer.cs / 1 / 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
- AppearanceEditorPart.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- CheckableControlBaseAdapter.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- KnownTypesHelper.cs
- FormatterServices.cs
- LayoutExceptionEventArgs.cs
- Model3DGroup.cs
- ByteStack.cs
- Errors.cs
- CallSite.cs
- TreeNodeCollectionEditor.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ServiceOperationParameter.cs
- dtdvalidator.cs
- FileDetails.cs
- IPAddress.cs
- RtfFormatStack.cs
- AssemblyHash.cs
- TypeExtensionConverter.cs
- formatter.cs
- AnnotationHighlightLayer.cs
- ButtonBase.cs
- LineUtil.cs
- EdmPropertyAttribute.cs
- RenameRuleObjectDialog.Designer.cs
- DecoderReplacementFallback.cs
- Itemizer.cs
- TypeTypeConverter.cs
- CultureSpecificCharacterBufferRange.cs
- WebPartsSection.cs
- ToolStripItem.cs
- FontCollection.cs
- CodeTypeReference.cs
- ThreadInterruptedException.cs
- ServicePointManager.cs
- SafeNativeMethods.cs
- GuidelineCollection.cs
- ListBoxItemWrapperAutomationPeer.cs
- FixedPage.cs
- EntityCollection.cs
- AssociationTypeEmitter.cs
- SafePointer.cs
- DisplayNameAttribute.cs
- TypeConverterAttribute.cs
- PointCollection.cs
- PartialTrustVisibleAssembly.cs
- DoubleLink.cs
- GradientStop.cs
- CommonDialog.cs
- UntrustedRecipientException.cs
- CodeDomLocalizationProvider.cs
- BaseCollection.cs
- BindingMemberInfo.cs
- QilLoop.cs
- X509Utils.cs
- ExpressionBinding.cs
- DecimalKeyFrameCollection.cs
- PackageStore.cs
- ByteStorage.cs
- XmlNode.cs
- Proxy.cs
- XmlIgnoreAttribute.cs
- PipeStream.cs
- XmlSchemaObjectTable.cs
- ChannelManager.cs
- ReliableMessagingVersionConverter.cs
- FixedNode.cs
- PeerCollaborationPermission.cs
- Descriptor.cs
- TextCompositionEventArgs.cs
- XPathDocumentBuilder.cs
- DataGridItemEventArgs.cs
- CollectionBase.cs
- WebPartsSection.cs
- DeferredTextReference.cs
- COM2ColorConverter.cs
- Geometry3D.cs
- DebugView.cs
- PassportAuthenticationEventArgs.cs
- WrapperEqualityComparer.cs
- ErrorTableItemStyle.cs
- TraceContextRecord.cs
- BamlRecordWriter.cs
- DataControlField.cs
- AttributeSetAction.cs
- TypeElementCollection.cs
- ToolStripPanelCell.cs
- SchemaCollectionPreprocessor.cs
- DragEvent.cs
- PngBitmapDecoder.cs
- StylusCaptureWithinProperty.cs
- LogArchiveSnapshot.cs
- SQLStringStorage.cs
- ByteConverter.cs
- SecurityPermission.cs
- StartUpEventArgs.cs
- securitycriticaldataClass.cs
- ObjectStateManager.cs
- panel.cs