Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / WinFormsIntegration / System / Windows / Integration / ElementHostAutomationPeer.cs / 1 / ElementHostAutomationPeer.cs
using System.Windows.Automation.Peers; namespace System.Windows.Forms.Integration { internal class ElementHostAutomationPeer : FrameworkElementAutomationPeer { private AvalonAdapter _owner; public ElementHostAutomationPeer(AvalonAdapter owner) : base(owner) { _owner = owner; } protected override bool IsContentElementCore() { return false; } protected override bool IsControlElementCore() { return false; } protected override string GetNameCore() { return _owner.Name; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System.Windows.Automation.Peers; namespace System.Windows.Forms.Integration { internal class ElementHostAutomationPeer : FrameworkElementAutomationPeer { private AvalonAdapter _owner; public ElementHostAutomationPeer(AvalonAdapter owner) : base(owner) { _owner = owner; } protected override bool IsContentElementCore() { return false; } protected override bool IsControlElementCore() { return false; } protected override string GetNameCore() { return _owner.Name; } } } // 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
- HtmlImage.cs
- AsnEncodedData.cs
- CacheAxisQuery.cs
- SessionStateItemCollection.cs
- SQLBinary.cs
- HierarchicalDataSourceControl.cs
- DataServices.cs
- ObjectStateManagerMetadata.cs
- TableCellAutomationPeer.cs
- ErrorFormatter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DocumentSequence.cs
- CatalogPart.cs
- BitmapEffect.cs
- ItemTypeToolStripMenuItem.cs
- BatchParser.cs
- MD5.cs
- InputGestureCollection.cs
- EntityDataSourceQueryBuilder.cs
- WebResourceAttribute.cs
- PaperSize.cs
- XmlQuerySequence.cs
- RoutedEventValueSerializer.cs
- DirectoryGroupQuery.cs
- CircleHotSpot.cs
- ChildrenQuery.cs
- SecurityResources.cs
- SecurityElement.cs
- TextOutput.cs
- storepermissionattribute.cs
- QilDataSource.cs
- FrameworkPropertyMetadata.cs
- RenderContext.cs
- CompareValidator.cs
- ImportContext.cs
- RequestDescription.cs
- NamespaceCollection.cs
- FontStretchConverter.cs
- PersonalizationProvider.cs
- PageHandlerFactory.cs
- PrimitiveXmlSerializers.cs
- StringUtil.cs
- ReflectionTypeLoadException.cs
- AsyncStreamReader.cs
- SpinLock.cs
- RelationshipSet.cs
- DataColumnMapping.cs
- MenuItemBinding.cs
- Math.cs
- SQLUtility.cs
- ParserExtension.cs
- SyntaxCheck.cs
- Form.cs
- CharacterMetricsDictionary.cs
- DocumentViewerHelper.cs
- querybuilder.cs
- SourceFileBuildProvider.cs
- SmiMetaDataProperty.cs
- basenumberconverter.cs
- RenderData.cs
- SiteMapNodeItemEventArgs.cs
- SelectingProviderEventArgs.cs
- TCPClient.cs
- WebPartConnectionsConfigureVerb.cs
- AnnotationHighlightLayer.cs
- IdentityReference.cs
- LabelTarget.cs
- AnimationClockResource.cs
- TreeNodeSelectionProcessor.cs
- OuterGlowBitmapEffect.cs
- CryptoApi.cs
- NetworkInterface.cs
- TraceSource.cs
- ContentValidator.cs
- PointLightBase.cs
- DateTimeValueSerializer.cs
- KnownTypeHelper.cs
- PipeStream.cs
- NumberFormatter.cs
- SwitchElementsCollection.cs
- DispatcherOperation.cs
- ConfigXmlSignificantWhitespace.cs
- DbProviderConfigurationHandler.cs
- TimeoutValidationAttribute.cs
- AuthorizationSection.cs
- CheckBoxField.cs
- rsa.cs
- ValidationErrorEventArgs.cs
- SectionRecord.cs
- MSAAWinEventWrap.cs
- oledbconnectionstring.cs
- RemotingAttributes.cs
- ConfigurationElementCollection.cs
- ChtmlPhoneCallAdapter.cs
- SizeFConverter.cs
- UntypedNullExpression.cs
- FileDialogPermission.cs
- DocumentViewerAutomationPeer.cs
- AttributeCollection.cs
- EnvironmentPermission.cs