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
- OneWayBindingElement.cs
- ParentUndoUnit.cs
- SizeKeyFrameCollection.cs
- IISUnsafeMethods.cs
- MatrixAnimationUsingKeyFrames.cs
- ProjectionCamera.cs
- AppliedDeviceFiltersDialog.cs
- TextReader.cs
- BitmapImage.cs
- ChannelProtectionRequirements.cs
- FixedSOMPage.cs
- ADConnectionHelper.cs
- TypeGeneratedEventArgs.cs
- ListInitExpression.cs
- TextComposition.cs
- UInt64Converter.cs
- InkPresenter.cs
- DescendantQuery.cs
- AutoGeneratedFieldProperties.cs
- OleDbWrapper.cs
- UnsafeNativeMethods.cs
- CalendarDataBindingHandler.cs
- ArraySegment.cs
- Win32.cs
- Size.cs
- XPathDocumentNavigator.cs
- MetadataUtil.cs
- BitmapFrameEncode.cs
- RotationValidation.cs
- FloatUtil.cs
- PersistNameAttribute.cs
- BuildProviderUtils.cs
- VisualTarget.cs
- SerTrace.cs
- FontNamesConverter.cs
- ProtectedConfigurationProviderCollection.cs
- MetadataUtil.cs
- HMACSHA256.cs
- ReverseInheritProperty.cs
- IconConverter.cs
- SpanIndex.cs
- ServiceDiscoveryElement.cs
- _NegoStream.cs
- XmlSchemaObjectTable.cs
- ZoomPercentageConverter.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ColumnCollection.cs
- WebPartMenuStyle.cs
- XmlQueryContext.cs
- PointLight.cs
- DigestComparer.cs
- HtmlElementErrorEventArgs.cs
- Point3DValueSerializer.cs
- CompilerTypeWithParams.cs
- NumberFormatInfo.cs
- NumericUpDown.cs
- ListControlConvertEventArgs.cs
- Int32Rect.cs
- TaskHelper.cs
- DataBindingCollection.cs
- StreamGeometry.cs
- Maps.cs
- XmlSerializableReader.cs
- Utilities.cs
- BeginEvent.cs
- RoutedEventArgs.cs
- SimpleHandlerFactory.cs
- CloudCollection.cs
- DataServiceQuery.cs
- DesignTimeVisibleAttribute.cs
- XmlSchemaElement.cs
- XPathDocumentIterator.cs
- BidPrivateBase.cs
- InputLanguageSource.cs
- TypeListConverter.cs
- ApplicationSettingsBase.cs
- FormViewRow.cs
- ExpandSegmentCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- ListViewDataItem.cs
- CodeTypeDeclaration.cs
- EncryptedPackageFilter.cs
- Subtree.cs
- SmtpReplyReader.cs
- CompiledQueryCacheKey.cs
- TextEvent.cs
- ListBoxItem.cs
- HtmlDocument.cs
- BeginGetFileNameFromUserRequest.cs
- ServiceTimeoutsBehavior.cs
- CompoundFileStreamReference.cs
- NotificationContext.cs
- ObjectDataSourceDisposingEventArgs.cs
- InputReport.cs
- AuthorizationContext.cs
- LicenseContext.cs
- CachingParameterInspector.cs
- EncryptedXml.cs
- ReaderWriterLock.cs
- QueryOperationResponseOfT.cs