Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- XmlCDATASection.cs
- SaveFileDialogDesigner.cs
- XmlQueryOutput.cs
- OracleDateTime.cs
- UserControl.cs
- NavigatingCancelEventArgs.cs
- CheckBoxAutomationPeer.cs
- BindableTemplateBuilder.cs
- ToolTipService.cs
- MemoryStream.cs
- EDesignUtil.cs
- CreateUserWizardStep.cs
- AsnEncodedData.cs
- DispatcherExceptionFilterEventArgs.cs
- CapiHashAlgorithm.cs
- CalendarDataBindingHandler.cs
- RouteCollection.cs
- DocumentSequence.cs
- ByeMessageCD1.cs
- ValidatorCompatibilityHelper.cs
- CodeSnippetStatement.cs
- KeyValuePairs.cs
- SharedUtils.cs
- CompositeFontFamily.cs
- pingexception.cs
- XamlPoint3DCollectionSerializer.cs
- XmlCharType.cs
- LogPolicy.cs
- BindingSource.cs
- EntityException.cs
- ToolStripDropDownButton.cs
- RawStylusInput.cs
- NameSpaceExtractor.cs
- Function.cs
- LinearKeyFrames.cs
- CacheMemory.cs
- Timer.cs
- AsyncOperation.cs
- FormViewCommandEventArgs.cs
- ProfileManager.cs
- CreateUserErrorEventArgs.cs
- SHA512.cs
- InternalUserCancelledException.cs
- SafeWaitHandle.cs
- TemplateContentLoader.cs
- PopOutPanel.cs
- SHA1Managed.cs
- WebPartUserCapability.cs
- PerformanceCounter.cs
- OdbcError.cs
- TemplateBuilder.cs
- XPathExpr.cs
- NameSpaceExtractor.cs
- TypeDependencyAttribute.cs
- AffineTransform3D.cs
- HttpResponseHeader.cs
- AuthorizationSection.cs
- ToolBarButtonDesigner.cs
- X509Certificate2.cs
- Permission.cs
- DiscoveryReferences.cs
- PixelFormats.cs
- AsymmetricCryptoHandle.cs
- MobileControlsSectionHelper.cs
- WindowsTokenRoleProvider.cs
- InvokeMethodActivity.cs
- ResXResourceSet.cs
- StreamWithDictionary.cs
- AlternateViewCollection.cs
- NominalTypeEliminator.cs
- RegexWriter.cs
- AttributeCollection.cs
- WorkflowInstance.cs
- Rotation3DAnimation.cs
- PeerTransportListenAddressConverter.cs
- StrokeNodeEnumerator.cs
- ConnectorSelectionGlyph.cs
- Transform.cs
- COM2TypeInfoProcessor.cs
- relpropertyhelper.cs
- XmlMapping.cs
- AnimatedTypeHelpers.cs
- ContractTypeNameCollection.cs
- HttpConfigurationSystem.cs
- ExpressionVisitor.cs
- RuntimeConfig.cs
- ForAllOperator.cs
- SrgsDocumentParser.cs
- DoubleKeyFrameCollection.cs
- DataGridViewColumnConverter.cs
- TableItemStyle.cs
- MetadataPropertyAttribute.cs
- GradientBrush.cs
- ProtocolReflector.cs
- WebPartCloseVerb.cs
- PeerNameRecordCollection.cs
- MetadataResolver.cs
- AuthenticationModuleElement.cs
- PageVisual.cs
- ControlAdapter.cs