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
- TableProvider.cs
- EncoderParameters.cs
- LinkedResourceCollection.cs
- WarningException.cs
- BitSet.cs
- SqlUDTStorage.cs
- XslVisitor.cs
- AppDomainManager.cs
- WhitespaceSignificantCollectionAttribute.cs
- Connector.xaml.cs
- SamlDoNotCacheCondition.cs
- SafeSystemMetrics.cs
- ToolStripPanelRow.cs
- DataContext.cs
- MDIWindowDialog.cs
- CalendarDay.cs
- Table.cs
- InputLangChangeEvent.cs
- BlobPersonalizationState.cs
- CodeObject.cs
- ExtendedPropertyDescriptor.cs
- MouseBinding.cs
- AssociationType.cs
- SrgsSubset.cs
- VariableValue.cs
- AssemblyAssociatedContentFileAttribute.cs
- TabItemAutomationPeer.cs
- ConfigurationElementProperty.cs
- DateTimeSerializationSection.cs
- TextDecorationCollectionConverter.cs
- MailMessageEventArgs.cs
- DiscoveryClientBindingElement.cs
- OperationCanceledException.cs
- DurationConverter.cs
- ReflectPropertyDescriptor.cs
- Mutex.cs
- IsolatedStoragePermission.cs
- FunctionCommandText.cs
- SubqueryTrackingVisitor.cs
- Dictionary.cs
- WebPartHelpVerb.cs
- StylesEditorDialog.cs
- RuntimeCompatibilityAttribute.cs
- SizeConverter.cs
- InsufficientMemoryException.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- ApplicationFileParser.cs
- Avt.cs
- EventTrigger.cs
- OpacityConverter.cs
- KeyProperty.cs
- PinnedBufferMemoryStream.cs
- FieldTemplateUserControl.cs
- LockRecursionException.cs
- StyleTypedPropertyAttribute.cs
- TemplateControlBuildProvider.cs
- BufferBuilder.cs
- EmbeddedObject.cs
- AccessDataSource.cs
- BidPrivateBase.cs
- SerialPort.cs
- StringKeyFrameCollection.cs
- SystemWebCachingSectionGroup.cs
- OuterGlowBitmapEffect.cs
- ObjectIDGenerator.cs
- BrowserDefinitionCollection.cs
- UnsafeNativeMethods.cs
- ConditionalExpression.cs
- ClipboardProcessor.cs
- CompilationLock.cs
- IndexedGlyphRun.cs
- FixedSOMImage.cs
- SignatureToken.cs
- MemberInfoSerializationHolder.cs
- XamlStream.cs
- MachineKeySection.cs
- ShaderRenderModeValidation.cs
- Configuration.cs
- FixedSOMPage.cs
- FieldNameLookup.cs
- XsdBuildProvider.cs
- DirectoryNotFoundException.cs
- RequestSecurityTokenResponse.cs
- TableDetailsCollection.cs
- RadialGradientBrush.cs
- Serializer.cs
- LicFileLicenseProvider.cs
- CompilerTypeWithParams.cs
- OperatorExpressions.cs
- _FixedSizeReader.cs
- ExpressionVisitor.cs
- CodeTypeReferenceCollection.cs
- FrameSecurityDescriptor.cs
- WsatConfiguration.cs
- DiscoveryProxy.cs
- EntityViewContainer.cs
- relpropertyhelper.cs
- SerializerWriterEventHandlers.cs
- DataGridViewButtonCell.cs
- DecimalFormatter.cs