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
- Activator.cs
- ComplexObject.cs
- WebDescriptionAttribute.cs
- InstanceStore.cs
- IdentityNotMappedException.cs
- UInt16.cs
- XmlWellformedWriter.cs
- StretchValidation.cs
- InkCanvasFeedbackAdorner.cs
- DataGridViewCellMouseEventArgs.cs
- _FtpDataStream.cs
- PeerCollaborationPermission.cs
- StatusBar.cs
- XPathNavigatorReader.cs
- EnvironmentPermission.cs
- DataRow.cs
- XslCompiledTransform.cs
- CodeDOMUtility.cs
- BooleanSwitch.cs
- ControlAdapter.cs
- HeaderElement.cs
- DeploymentSection.cs
- MultipleViewProviderWrapper.cs
- XsltArgumentList.cs
- XmlReader.cs
- RowParagraph.cs
- DSASignatureFormatter.cs
- ParameterToken.cs
- WebPartTransformerCollection.cs
- WindowInteractionStateTracker.cs
- UIInitializationException.cs
- KeyBinding.cs
- DataRelationCollection.cs
- MultipleCopiesCollection.cs
- PropertyReferenceExtension.cs
- XDRSchema.cs
- UInt64.cs
- EventEntry.cs
- BitmapDownload.cs
- EntityCodeGenerator.cs
- Span.cs
- _OverlappedAsyncResult.cs
- PowerModeChangedEventArgs.cs
- PanelStyle.cs
- WeakReadOnlyCollection.cs
- XmlNullResolver.cs
- AsymmetricKeyExchangeFormatter.cs
- ConnectionStringsSection.cs
- StringInfo.cs
- RelationshipWrapper.cs
- RoleService.cs
- SkinBuilder.cs
- XmlName.cs
- AvTraceDetails.cs
- SharedPerformanceCounter.cs
- DescendantQuery.cs
- ValueOfAction.cs
- ListViewUpdateEventArgs.cs
- RSAOAEPKeyExchangeDeformatter.cs
- NumberFormatInfo.cs
- DesignerOptionService.cs
- X509SecurityTokenProvider.cs
- ToolStripStatusLabel.cs
- LineSegment.cs
- UriExt.cs
- HttpCacheParams.cs
- GridItemPattern.cs
- MinMaxParagraphWidth.cs
- KeyConverter.cs
- DefaultCommandConverter.cs
- PtsHelper.cs
- IsolatedStorageSecurityState.cs
- ConfigurationElementCollection.cs
- MulticastIPAddressInformationCollection.cs
- ReflectEventDescriptor.cs
- TimeEnumHelper.cs
- SourceItem.cs
- TypeForwardedToAttribute.cs
- MenuItemBindingCollection.cs
- BmpBitmapDecoder.cs
- AddInAttribute.cs
- ToolStripRenderer.cs
- HostAdapter.cs
- IndependentAnimationStorage.cs
- TypedAsyncResult.cs
- ButtonAutomationPeer.cs
- DataTrigger.cs
- XmlSchemaRedefine.cs
- DataGridViewDataConnection.cs
- CodeNamespaceImportCollection.cs
- XPathDocumentNavigator.cs
- RecordConverter.cs
- CfgRule.cs
- ToolStripComboBox.cs
- Handle.cs
- Label.cs
- HTTPNotFoundHandler.cs
- IPAddressCollection.cs
- WebPartConnectionsCloseVerb.cs
- PathGeometry.cs