Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Automation / Peers / UserControlAutomationPeer.cs / 1 / UserControlAutomationPeer.cs
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interop;
using System.Windows.Media;
using System.ComponentModel;
namespace System.Windows.Automation.Peers
{
///
public class UserControlAutomationPeer : FrameworkElementAutomationPeer
{
///
public UserControlAutomationPeer(UserControl owner) : base(owner)
{ }
///
override protected string GetClassNameCore()
{
return Owner.GetType().Name;
}
///
protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Custom;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interop;
using System.Windows.Media;
using System.ComponentModel;
namespace System.Windows.Automation.Peers
{
///
public class UserControlAutomationPeer : FrameworkElementAutomationPeer
{
///
public UserControlAutomationPeer(UserControl owner) : base(owner)
{ }
///
override protected string GetClassNameCore()
{
return Owner.GetType().Name;
}
///
protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Custom;
}
}
}
// 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
- BindingListCollectionView.cs
- Font.cs
- CharKeyFrameCollection.cs
- ToolboxItemAttribute.cs
- WebPartDisplayModeEventArgs.cs
- FreezableOperations.cs
- SystemColors.cs
- DataRecordObjectView.cs
- Atom10FormatterFactory.cs
- WebDescriptionAttribute.cs
- SourceFileBuildProvider.cs
- DateTimeValueSerializer.cs
- RemotingException.cs
- EventLogHandle.cs
- DataBinder.cs
- SessionPageStatePersister.cs
- GradientBrush.cs
- ConnectivityStatus.cs
- ExpandSegmentCollection.cs
- Geometry.cs
- ThicknessKeyFrameCollection.cs
- X509Utils.cs
- ScrollProperties.cs
- _ChunkParse.cs
- GridItemCollection.cs
- _AutoWebProxyScriptWrapper.cs
- ImageAttributes.cs
- FixedPageStructure.cs
- ObjectRef.cs
- SQLRoleProvider.cs
- DataGridColumnReorderingEventArgs.cs
- ResourcesBuildProvider.cs
- HtmlAnchor.cs
- MessageHeaderException.cs
- ConstraintManager.cs
- HotSpot.cs
- WebBrowserNavigatedEventHandler.cs
- SecurityIdentifierElementCollection.cs
- PixelFormat.cs
- XmlSchemaAnnotated.cs
- TextMessageEncodingElement.cs
- DataViewSettingCollection.cs
- UnaryNode.cs
- ZipFileInfoCollection.cs
- EventLogReader.cs
- DesignerSerializationVisibilityAttribute.cs
- QilSortKey.cs
- XmlReaderSettings.cs
- AssemblyAssociatedContentFileAttribute.cs
- ReferencedCollectionType.cs
- Assembly.cs
- ConfigurationStrings.cs
- ListBindingConverter.cs
- AssertFilter.cs
- SiteMapProvider.cs
- DataGridViewRowsAddedEventArgs.cs
- CacheVirtualItemsEvent.cs
- StringConcat.cs
- DrawTreeNodeEventArgs.cs
- SafeCertificateContext.cs
- DocumentsTrace.cs
- OpenFileDialog.cs
- Graphics.cs
- Setter.cs
- ExpressionList.cs
- CustomTypeDescriptor.cs
- TrackingMemoryStreamFactory.cs
- InnerItemCollectionView.cs
- WebPartManager.cs
- SecureEnvironment.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Codec.cs
- HtmlLabelAdapter.cs
- BuildDependencySet.cs
- ProxyWebPart.cs
- XmlWellformedWriter.cs
- BrushConverter.cs
- EventSourceCreationData.cs
- Timer.cs
- Timer.cs
- InvalidCommandTreeException.cs
- CommonDialog.cs
- SafeNativeMethods.cs
- ImportCatalogPart.cs
- ApplicationTrust.cs
- AssemblyInfo.cs
- XmlNodeWriter.cs
- QueryOutputWriter.cs
- DbMetaDataFactory.cs
- OrderedEnumerableRowCollection.cs
- Label.cs
- ColumnCollection.cs
- PreDigestedSignedInfo.cs
- List.cs
- PageSettings.cs
- TextBox.cs
- Baml6Assembly.cs
- UnhandledExceptionEventArgs.cs
- DrawingGroupDrawingContext.cs
- WindowsTreeView.cs