Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- RoleManagerSection.cs
- OptimalTextSource.cs
- ConnectionsZone.cs
- HostedElements.cs
- EdmProviderManifest.cs
- DataTableReader.cs
- RichTextBox.cs
- JavaScriptObjectDeserializer.cs
- DataBindingCollection.cs
- SspiWrapper.cs
- EventPrivateKey.cs
- TypedRowHandler.cs
- SessionState.cs
- StringWriter.cs
- CompositeActivityCodeGenerator.cs
- StylusPointPropertyId.cs
- JoinTreeSlot.cs
- ExpressionCopier.cs
- DrawingImage.cs
- WebPartManagerInternals.cs
- GlobalEventManager.cs
- AvtEvent.cs
- HttpApplication.cs
- BlurEffect.cs
- FrameworkRichTextComposition.cs
- TagMapInfo.cs
- OutArgument.cs
- DataGridViewRowPostPaintEventArgs.cs
- AutomationPattern.cs
- _HelperAsyncResults.cs
- ConstraintStruct.cs
- QuotedPrintableStream.cs
- BulletDecorator.cs
- CollectionConverter.cs
- DataSourceBooleanViewSchemaConverter.cs
- WebBrowserPermission.cs
- OrderByBuilder.cs
- MouseEvent.cs
- ResourceReferenceExpressionConverter.cs
- TraceProvider.cs
- ProviderBase.cs
- XmlSignatureManifest.cs
- ContentOperations.cs
- OverlappedContext.cs
- FlowDocumentView.cs
- TextLineResult.cs
- TemplateBindingExpression.cs
- HttpValueCollection.cs
- XmlNamedNodeMap.cs
- XmlnsCompatibleWithAttribute.cs
- WebConvert.cs
- DeferredElementTreeState.cs
- EndpointConfigContainer.cs
- Unit.cs
- AnnotationStore.cs
- SelectionUIHandler.cs
- SchemaInfo.cs
- ParserExtension.cs
- _HelperAsyncResults.cs
- MarkupCompilePass2.cs
- FrugalList.cs
- Tuple.cs
- OciLobLocator.cs
- ContainerCodeDomSerializer.cs
- CSharpCodeProvider.cs
- BinaryWriter.cs
- ListCommandEventArgs.cs
- CardSpaceShim.cs
- UserControl.cs
- Constraint.cs
- C14NUtil.cs
- HttpCookie.cs
- ExitEventArgs.cs
- PropertyIdentifier.cs
- InputLanguageManager.cs
- OutputCacheProfileCollection.cs
- DesignerVerbToolStripMenuItem.cs
- XmlCharType.cs
- MimeParameter.cs
- TransformerInfoCollection.cs
- TcpChannelHelper.cs
- EventLogEntry.cs
- RequestCacheManager.cs
- basemetadatamappingvisitor.cs
- ProcessHostMapPath.cs
- Ref.cs
- TcpChannelHelper.cs
- TextContainerChangeEventArgs.cs
- ListControlDesigner.cs
- RayMeshGeometry3DHitTestResult.cs
- ProtocolViolationException.cs
- SemaphoreSecurity.cs
- Converter.cs
- XmlSerializerFormatAttribute.cs
- SoapFaultCodes.cs
- ListMarkerSourceInfo.cs
- CurrentTimeZone.cs
- GZipUtils.cs
- ProcessHost.cs
- FlowDocumentReaderAutomationPeer.cs