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
- LayeredChannelListener.cs
- DecimalAnimationUsingKeyFrames.cs
- ServicePerformanceCounters.cs
- QilLoop.cs
- LongSumAggregationOperator.cs
- HeaderedContentControl.cs
- RadialGradientBrush.cs
- TextServicesManager.cs
- DependencyPropertyKey.cs
- SchemaElementLookUpTableEnumerator.cs
- ContravarianceAdapter.cs
- SafeNativeMethods.cs
- SetMemberBinder.cs
- MessageQueue.cs
- FontCollection.cs
- WebUtil.cs
- BitmapEffectCollection.cs
- ScriptRef.cs
- DrawingAttributes.cs
- ExtensibleClassFactory.cs
- LocatorManager.cs
- Journal.cs
- KeyValueInternalCollection.cs
- MulticastNotSupportedException.cs
- XmlArrayAttribute.cs
- FormViewPagerRow.cs
- KeySplineConverter.cs
- TimeSpanValidatorAttribute.cs
- XmlEntityReference.cs
- PersonalizationStateInfo.cs
- ToolStripMenuItemCodeDomSerializer.cs
- FlowDocumentPage.cs
- TextServicesProperty.cs
- DelegateSerializationHolder.cs
- MobileUITypeEditor.cs
- WebPartManagerInternals.cs
- SqlTriggerContext.cs
- SortQuery.cs
- RelatedPropertyManager.cs
- WebServiceFault.cs
- MobileTextWriter.cs
- Pkcs7Recipient.cs
- CultureInfoConverter.cs
- ComponentCache.cs
- TextTreeUndo.cs
- WindowHideOrCloseTracker.cs
- FaultBookmark.cs
- WebServiceResponseDesigner.cs
- CodeBlockBuilder.cs
- SR.Designer.cs
- RightsManagementEncryptionTransform.cs
- SecurityHelper.cs
- WindowsComboBox.cs
- SmtpMail.cs
- CompiledQuery.cs
- HtmlTableRowCollection.cs
- RegisteredHiddenField.cs
- EmbeddedMailObjectCollectionEditor.cs
- Mutex.cs
- DesignerAdRotatorAdapter.cs
- HttpDictionary.cs
- CodeComment.cs
- FixedSOMTextRun.cs
- Viewport2DVisual3D.cs
- RowToParametersTransformer.cs
- InfiniteTimeSpanConverter.cs
- WebServiceHost.cs
- EmbeddedMailObjectCollectionEditor.cs
- RtfToXamlLexer.cs
- XsltContext.cs
- FillRuleValidation.cs
- TimeSpanOrInfiniteValidator.cs
- ObjectStorage.cs
- SerialErrors.cs
- MethodCallConverter.cs
- ReadOnlyMetadataCollection.cs
- ReceiveMessageRecord.cs
- DifferencingCollection.cs
- Column.cs
- InsufficientMemoryException.cs
- CodeConstructor.cs
- ZoneMembershipCondition.cs
- DbConnectionInternal.cs
- QueryInterceptorAttribute.cs
- DataServiceCollectionOfT.cs
- FixedSOMLineCollection.cs
- ConfigPathUtility.cs
- Point3DAnimationBase.cs
- AttachmentCollection.cs
- UInt64Storage.cs
- WorkflowMarkupSerializerMapping.cs
- DiscoveryRequestHandler.cs
- FormParameter.cs
- Util.cs
- VScrollBar.cs
- ProviderCollection.cs
- DependsOnAttribute.cs
- GenericEnumerator.cs
- DataColumnCollection.cs
- TextSelectionHelper.cs