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
- FormsAuthenticationUserCollection.cs
- PrintController.cs
- ProfileManager.cs
- CellTreeNode.cs
- AbsoluteQuery.cs
- _AcceptOverlappedAsyncResult.cs
- DigitalSignature.cs
- LostFocusEventManager.cs
- AsyncPostBackTrigger.cs
- XmlSchemaComplexContentExtension.cs
- PreservationFileWriter.cs
- CachedFontFamily.cs
- AmbientLight.cs
- ConfigurationStrings.cs
- DbException.cs
- smtppermission.cs
- EventKeyword.cs
- DrawingContextWalker.cs
- ToolboxItemCollection.cs
- TileBrush.cs
- NavigationCommands.cs
- ZipIOBlockManager.cs
- Merger.cs
- _SecureChannel.cs
- WhiteSpaceTrimStringConverter.cs
- formatstringdialog.cs
- SessionConnectionReader.cs
- QuaternionRotation3D.cs
- DocumentPaginator.cs
- GlyphInfoList.cs
- WebServiceClientProxyGenerator.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- IRCollection.cs
- UIPermission.cs
- SynthesizerStateChangedEventArgs.cs
- Span.cs
- Enum.cs
- XmlToDatasetMap.cs
- FloaterBaseParagraph.cs
- SQLBoolean.cs
- NumberAction.cs
- DataExpression.cs
- BackgroundFormatInfo.cs
- CopyAction.cs
- NativeCompoundFileAPIs.cs
- RIPEMD160Managed.cs
- WeakHashtable.cs
- AutomationProperty.cs
- dataobject.cs
- EdmSchemaError.cs
- QueryTask.cs
- TraceEventCache.cs
- MatrixAnimationUsingKeyFrames.cs
- MethodRental.cs
- OdbcCommand.cs
- WebPartCatalogAddVerb.cs
- NeutralResourcesLanguageAttribute.cs
- InstalledVoice.cs
- ReaderContextStackData.cs
- XmlDocument.cs
- JoinGraph.cs
- RepeaterCommandEventArgs.cs
- SQLByteStorage.cs
- DialogResultConverter.cs
- AnnouncementEventArgs.cs
- XsltQilFactory.cs
- ToolStripMenuItem.cs
- BuildProviderAppliesToAttribute.cs
- MouseGestureConverter.cs
- AmbientValueAttribute.cs
- AssemblyResourceLoader.cs
- SerialErrors.cs
- WindowsGrip.cs
- HttpHandlersSection.cs
- TextEditorSpelling.cs
- BinaryUtilClasses.cs
- TypePropertyEditor.cs
- ProjectionRewriter.cs
- InvalidAsynchronousStateException.cs
- DataContext.cs
- TreeWalker.cs
- Maps.cs
- XmlSerializerFactory.cs
- SqlTypesSchemaImporter.cs
- JapaneseCalendar.cs
- CryptoKeySecurity.cs
- BaseComponentEditor.cs
- TypeUtil.cs
- PageCache.cs
- TextDataBindingHandler.cs
- GraphicsContext.cs
- NgenServicingAttributes.cs
- DataRelation.cs
- TranslateTransform.cs
- InputLanguage.cs
- EventMappingSettingsCollection.cs
- RegisteredHiddenField.cs
- DetailsViewRow.cs
- Latin1Encoding.cs
- ServiceContractViewControl.Designer.cs