Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- TypeConverterHelper.cs
- BCryptSafeHandles.cs
- GetWinFXPath.cs
- PEFileReader.cs
- UrlPath.cs
- CategoryEditor.cs
- BitmapCodecInfoInternal.cs
- WinEventTracker.cs
- HtmlImage.cs
- NativeMethodsOther.cs
- HashRepartitionStream.cs
- CfgParser.cs
- SiteMapProvider.cs
- MetricEntry.cs
- Comparer.cs
- EntityType.cs
- figurelengthconverter.cs
- XomlDesignerLoader.cs
- XmlSchemaDatatype.cs
- PreservationFileReader.cs
- DurationConverter.cs
- wgx_render.cs
- DataListItemEventArgs.cs
- RtfNavigator.cs
- SqlIdentifier.cs
- PropertyMetadata.cs
- Unit.cs
- HighlightComponent.cs
- WsiProfilesElement.cs
- AssemblyBuilderData.cs
- TileBrush.cs
- FormCollection.cs
- TextParagraphView.cs
- ellipse.cs
- AccessText.cs
- TraceHwndHost.cs
- QueryAccessibilityHelpEvent.cs
- comcontractssection.cs
- RijndaelManaged.cs
- SelectionChangedEventArgs.cs
- ListViewSelectEventArgs.cs
- TextBounds.cs
- VisualBasicReference.cs
- PassportAuthenticationEventArgs.cs
- LoginUtil.cs
- IdnElement.cs
- Separator.cs
- ResourceCollectionInfo.cs
- XmlQueryStaticData.cs
- ThreadStartException.cs
- AsyncCompletedEventArgs.cs
- EventSourceCreationData.cs
- _KerberosClient.cs
- DataServiceProviderWrapper.cs
- ThemeInfoAttribute.cs
- BackgroundFormatInfo.cs
- AudioFormatConverter.cs
- EnumUnknown.cs
- QilExpression.cs
- EditingCoordinator.cs
- Formatter.cs
- ItemAutomationPeer.cs
- ReflectionPermission.cs
- HelpKeywordAttribute.cs
- NetNamedPipeBindingElement.cs
- ObjectListCommandCollection.cs
- OuterGlowBitmapEffect.cs
- PrinterResolution.cs
- xamlnodes.cs
- TextEditor.cs
- PointCollectionConverter.cs
- MatrixTransform.cs
- StreamGeometry.cs
- ScrollPatternIdentifiers.cs
- MainMenu.cs
- CapabilitiesPattern.cs
- ViewStateModeByIdAttribute.cs
- CommittableTransaction.cs
- NextPreviousPagerField.cs
- ellipse.cs
- StringResourceManager.cs
- MenuItemBindingCollection.cs
- RecognitionResult.cs
- RawStylusInputReport.cs
- WebBaseEventKeyComparer.cs
- CommandEventArgs.cs
- TextDecorationUnitValidation.cs
- ObjectHandle.cs
- SqlGenerator.cs
- SamlSecurityTokenAuthenticator.cs
- SessionPageStateSection.cs
- TemplateBaseAction.cs
- TdsParser.cs
- ClientScriptManager.cs
- SpotLight.cs
- ToolBar.cs
- DataGrid.cs
- DefaultTraceListener.cs
- XmlDeclaration.cs
- StateDesigner.cs