Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartZone.cs
- WindowsEditBoxRange.cs
- Bold.cs
- RawKeyboardInputReport.cs
- TreeNode.cs
- MenuItem.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- HttpRawResponse.cs
- nulltextnavigator.cs
- CompressStream.cs
- StrongTypingException.cs
- TextElement.cs
- TemplateManager.cs
- RtfFormatStack.cs
- Subtree.cs
- MethodBody.cs
- IndexedDataBuffer.cs
- SendContent.cs
- WorkerProcess.cs
- DeviceContexts.cs
- XPathDescendantIterator.cs
- PenLineCapValidation.cs
- LambdaCompiler.Address.cs
- MruCache.cs
- FixedSOMContainer.cs
- ComplexBindingPropertiesAttribute.cs
- DiagnosticSection.cs
- WorkflowServiceAttributesTypeConverter.cs
- DataControlCommands.cs
- DefaultExpressionVisitor.cs
- GradientBrush.cs
- TextViewBase.cs
- HtmlImage.cs
- CornerRadius.cs
- TableRow.cs
- Rotation3DAnimationUsingKeyFrames.cs
- CollectionViewProxy.cs
- InvalidateEvent.cs
- MessageDecoder.cs
- EntityCommandCompilationException.cs
- DefaultHttpHandler.cs
- EventPropertyMap.cs
- SiteMapNode.cs
- CompositeCollection.cs
- ProfileBuildProvider.cs
- TextLineBreak.cs
- PenLineCapValidation.cs
- ResizeGrip.cs
- SizeLimitedCache.cs
- ExcludeFromCodeCoverageAttribute.cs
- FormsAuthenticationModule.cs
- RoutedPropertyChangedEventArgs.cs
- oledbmetadatacolumnnames.cs
- ConstraintConverter.cs
- VScrollProperties.cs
- HostVisual.cs
- GAC.cs
- VersionConverter.cs
- ExpressionBuilderCollection.cs
- NetNamedPipeSecurity.cs
- Internal.cs
- DictionarySectionHandler.cs
- Rule.cs
- OrderedDictionaryStateHelper.cs
- NonBatchDirectoryCompiler.cs
- SmtpCommands.cs
- SettingsAttributes.cs
- TreeViewTemplateSelector.cs
- PersistenceException.cs
- TextEditorTyping.cs
- recordstatescratchpad.cs
- Region.cs
- TabItemWrapperAutomationPeer.cs
- FullTextLine.cs
- ScriptingWebServicesSectionGroup.cs
- ObjectItemConventionAssemblyLoader.cs
- Console.cs
- SqlInternalConnection.cs
- XmlDataCollection.cs
- StringValidatorAttribute.cs
- ParserStack.cs
- DetailsViewPageEventArgs.cs
- SectionInput.cs
- CodeParameterDeclarationExpression.cs
- PhysicalFontFamily.cs
- RawAppCommandInputReport.cs
- OdbcConnectionPoolProviderInfo.cs
- HttpCacheParams.cs
- PerformanceCounterCategory.cs
- NamespaceTable.cs
- CodeDomDesignerLoader.cs
- ReadOnlyTernaryTree.cs
- IIS7UserPrincipal.cs
- SessionEndingEventArgs.cs
- SpoolingTaskBase.cs
- CopyAttributesAction.cs
- TimersDescriptionAttribute.cs
- UnknownBitmapDecoder.cs
- EventToken.cs
- FileChangesMonitor.cs