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
- TextTreeTextElementNode.cs
- StorageFunctionMapping.cs
- DayRenderEvent.cs
- CellTreeNode.cs
- HScrollProperties.cs
- UnsafeNativeMethods.cs
- _emptywebproxy.cs
- Comparer.cs
- ViewKeyConstraint.cs
- BrowserCapabilitiesFactory35.cs
- AspCompat.cs
- XamlSerializerUtil.cs
- JournalEntryStack.cs
- OperationExecutionFault.cs
- XmlSchemaAny.cs
- XmlSchemaAny.cs
- FocusTracker.cs
- KeyConverter.cs
- RelatedCurrencyManager.cs
- _Semaphore.cs
- StringUtil.cs
- VSWCFServiceContractGenerator.cs
- ToolStripDropDownButton.cs
- ObjectFullSpanRewriter.cs
- GatewayDefinition.cs
- TimeIntervalCollection.cs
- EventPrivateKey.cs
- SimpleMailWebEventProvider.cs
- CompositeDuplexElement.cs
- DocumentEventArgs.cs
- XmlUtil.cs
- WebPartCloseVerb.cs
- SplayTreeNode.cs
- ExtendedTransformFactory.cs
- RegexGroup.cs
- LineProperties.cs
- PerformanceCounterPermissionEntry.cs
- ResourcePermissionBase.cs
- Rect.cs
- RTLAwareMessageBox.cs
- DoubleAnimationClockResource.cs
- RightsManagementSuppressedStream.cs
- XmlConverter.cs
- SystemGatewayIPAddressInformation.cs
- HtmlInputButton.cs
- __Filters.cs
- WebPart.cs
- PrintingPermission.cs
- MorphHelper.cs
- LinearGradientBrush.cs
- HostProtectionException.cs
- RequestQueue.cs
- ComponentResourceKey.cs
- TimerEventSubscription.cs
- PositiveTimeSpanValidator.cs
- BaseAsyncResult.cs
- MobilePage.cs
- ObjRef.cs
- FormatConvertedBitmap.cs
- ToolStripDesignerAvailabilityAttribute.cs
- ErrorFormatterPage.cs
- ItemCollection.cs
- TextClipboardData.cs
- ClientBuildManagerCallback.cs
- EntityDataSourceWrapperCollection.cs
- MimeReturn.cs
- X509SecurityTokenProvider.cs
- SecurityRuntime.cs
- LogicalTreeHelper.cs
- CompilerError.cs
- FlowLayout.cs
- StatusBarPanel.cs
- TraceHandlerErrorFormatter.cs
- MultipartContentParser.cs
- CompressedStack.cs
- MemberExpression.cs
- DesignerEditorPartChrome.cs
- WebPartEventArgs.cs
- ChameleonKey.cs
- StartUpEventArgs.cs
- DateTimeConverter2.cs
- SchemaInfo.cs
- UnsafeNativeMethods.cs
- FactoryMaker.cs
- LogWriteRestartAreaAsyncResult.cs
- MasterPageBuildProvider.cs
- TreeNodeCollectionEditor.cs
- AjaxFrameworkAssemblyAttribute.cs
- MappingSource.cs
- BinHexDecoder.cs
- ComponentResourceManager.cs
- PixelFormat.cs
- DateTimeOffsetAdapter.cs
- ConstrainedDataObject.cs
- HitTestFilterBehavior.cs
- WpfSharedBamlSchemaContext.cs
- IDReferencePropertyAttribute.cs
- DurationConverter.cs
- NameValueConfigurationCollection.cs
- EnumValidator.cs