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
- ClonableStack.cs
- ScriptResourceAttribute.cs
- Attachment.cs
- WindowsFormsHost.cs
- MethodAccessException.cs
- GeometryGroup.cs
- BuildProviderInstallComponent.cs
- ColorDialog.cs
- RemoveStoryboard.cs
- StaticFileHandler.cs
- MissingFieldException.cs
- DataGridViewMethods.cs
- LambdaCompiler.ControlFlow.cs
- TextPattern.cs
- TextContainerChangedEventArgs.cs
- TypeLibConverter.cs
- sqlnorm.cs
- AsyncResult.cs
- StatusBar.cs
- TextSearch.cs
- CompositeDataBoundControl.cs
- LayoutEditorPart.cs
- ServiceReference.cs
- StrokeDescriptor.cs
- ModelChangedEventArgsImpl.cs
- CompilerState.cs
- CompilerGlobalScopeAttribute.cs
- RSAPKCS1KeyExchangeFormatter.cs
- IdnMapping.cs
- EventWaitHandleSecurity.cs
- HandleRef.cs
- RichTextBoxConstants.cs
- PointCollection.cs
- ArrangedElementCollection.cs
- AmbiguousMatchException.cs
- ListViewInsertEventArgs.cs
- CorrelationTokenInvalidatedHandler.cs
- ErrorStyle.cs
- XmlDocumentFragment.cs
- PreservationFileWriter.cs
- MasterPageCodeDomTreeGenerator.cs
- DataReaderContainer.cs
- DefaultAsyncDataDispatcher.cs
- XmlSiteMapProvider.cs
- EntityDataSourceContextCreatingEventArgs.cs
- DataTableExtensions.cs
- XmlCountingReader.cs
- TargetException.cs
- StringInfo.cs
- GatewayDefinition.cs
- ReturnValue.cs
- HttpGetClientProtocol.cs
- ResXDataNode.cs
- RelativeSource.cs
- DiscardableAttribute.cs
- BrowserTree.cs
- CredentialManagerDialog.cs
- OledbConnectionStringbuilder.cs
- Vector.cs
- ProgressiveCrcCalculatingStream.cs
- RoleManagerSection.cs
- PropertyGeneratedEventArgs.cs
- ReferentialConstraintRoleElement.cs
- StateManagedCollection.cs
- WindowsFormsLinkLabel.cs
- NullableFloatAverageAggregationOperator.cs
- EncoderReplacementFallback.cs
- NameValueConfigurationElement.cs
- HttpSessionStateBase.cs
- HttpWrapper.cs
- Grant.cs
- LayoutExceptionEventArgs.cs
- TextControl.cs
- HtmlTableRow.cs
- Exceptions.cs
- InvalidDataContractException.cs
- SimpleType.cs
- HandledMouseEvent.cs
- Journaling.cs
- CustomAttributeFormatException.cs
- ViewPort3D.cs
- DataServiceBehavior.cs
- WindowsEditBoxRange.cs
- WindowsGraphics2.cs
- securitycriticaldata.cs
- DefaultPrintController.cs
- PreApplicationStartMethodAttribute.cs
- GetPageNumberCompletedEventArgs.cs
- DataGridColumnHeaderCollection.cs
- DebugView.cs
- IOException.cs
- TypeResolver.cs
- CustomWebEventKey.cs
- PropertyGridDesigner.cs
- RegexParser.cs
- Stream.cs
- EventPrivateKey.cs
- _UriSyntax.cs
- ObjectView.cs
- WebPartUserCapability.cs