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
- DataSysAttribute.cs
- MessageSecurityOverMsmqElement.cs
- followingsibling.cs
- StringStorage.cs
- InfoCardArgumentException.cs
- EnumBuilder.cs
- MessageHeaderInfoTraceRecord.cs
- HttpListenerException.cs
- SkipQueryOptionExpression.cs
- WpfPayload.cs
- XmlImplementation.cs
- DefaultObjectMappingItemCollection.cs
- HashStream.cs
- LifetimeServices.cs
- ByteConverter.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- SqlCacheDependencyDatabaseCollection.cs
- RectConverter.cs
- GrammarBuilderBase.cs
- HierarchicalDataBoundControlAdapter.cs
- AutoCompleteStringCollection.cs
- PeerNearMe.cs
- QuadraticBezierSegment.cs
- NameValueConfigurationCollection.cs
- ExpressionLexer.cs
- TabRenderer.cs
- SqlInternalConnectionSmi.cs
- DrawToolTipEventArgs.cs
- PathGradientBrush.cs
- RequestContext.cs
- Button.cs
- SupportsEventValidationAttribute.cs
- SqlDataSourceView.cs
- APCustomTypeDescriptor.cs
- CodeChecksumPragma.cs
- BindingMAnagerBase.cs
- DispatcherFrame.cs
- ConfigurationSectionGroup.cs
- TextRunCache.cs
- ProxyWebPart.cs
- CalendarAutoFormatDialog.cs
- DiscoveryMessageSequence.cs
- StaticExtension.cs
- SqlDependencyListener.cs
- WindowsMenu.cs
- HttpConfigurationContext.cs
- RelatedImageListAttribute.cs
- NamespaceInfo.cs
- DbConnectionOptions.cs
- SqlUtils.cs
- SafeMILHandle.cs
- DisplayNameAttribute.cs
- RotateTransform3D.cs
- FormViewDeletedEventArgs.cs
- AdRotatorDesigner.cs
- QueryComponents.cs
- ColorConvertedBitmap.cs
- CodeMethodInvokeExpression.cs
- Menu.cs
- XmlSchemaSimpleTypeUnion.cs
- Application.cs
- X509ThumbprintKeyIdentifierClause.cs
- StrokeSerializer.cs
- Int32Converter.cs
- Memoizer.cs
- SecurityPolicySection.cs
- PlanCompilerUtil.cs
- Queue.cs
- FrameworkObject.cs
- ObjectPropertyMapping.cs
- RoleGroup.cs
- DebugView.cs
- EntityDesignerDataSourceView.cs
- XmlFileEditor.cs
- DBSchemaTable.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SoapFormatExtensions.cs
- CultureInfoConverter.cs
- TextOptions.cs
- Configuration.cs
- AnchorEditor.cs
- PrincipalPermission.cs
- IPPacketInformation.cs
- AutomationPropertyInfo.cs
- ProcessHostConfigUtils.cs
- PieceNameHelper.cs
- WebPartDesigner.cs
- CategoryState.cs
- Pen.cs
- QEncodedStream.cs
- XmlSchemaDatatype.cs
- AddInIpcChannel.cs
- SafeHandles.cs
- CertificateManager.cs
- X509Certificate2Collection.cs
- CultureTableRecord.cs
- KoreanCalendar.cs
- WorkflowExecutor.cs
- DefaultIfEmptyQueryOperator.cs
- ResolveDuplexCD1AsyncResult.cs