Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- XmlElementAttribute.cs
- Registry.cs
- MarkupCompilePass2.cs
- ProofTokenCryptoHandle.cs
- ParsedAttributeCollection.cs
- LiteralText.cs
- addressfiltermode.cs
- FreezableCollection.cs
- InternalConfigHost.cs
- ReaderOutput.cs
- BamlReader.cs
- JavaScriptObjectDeserializer.cs
- Span.cs
- DisplayInformation.cs
- AttributeEmitter.cs
- CommandBinding.cs
- FilterableAttribute.cs
- ListControl.cs
- CommandPlan.cs
- Column.cs
- DbgUtil.cs
- GroupBox.cs
- ErrorFormatter.cs
- SafeArchiveContext.cs
- HandleCollector.cs
- Transform.cs
- RealProxy.cs
- PrintEvent.cs
- TraceHandler.cs
- SqlProcedureAttribute.cs
- PathSegmentCollection.cs
- Utils.cs
- LinkUtilities.cs
- TextEditorTables.cs
- SafeUserTokenHandle.cs
- HttpDictionary.cs
- PolicyManager.cs
- SecurityHeaderTokenResolver.cs
- TransformCryptoHandle.cs
- SqlRetyper.cs
- _ProxyChain.cs
- HighlightVisual.cs
- CustomErrorsSection.cs
- Shared.cs
- ThicknessAnimationUsingKeyFrames.cs
- GeometryCombineModeValidation.cs
- PropertyGridView.cs
- _ContextAwareResult.cs
- XPathNodeHelper.cs
- ExpanderAutomationPeer.cs
- VersionUtil.cs
- _DomainName.cs
- XamlToRtfParser.cs
- ProcessHostConfigUtils.cs
- RepeaterItem.cs
- NativeMethods.cs
- ResetableIterator.cs
- COM2FontConverter.cs
- PasswordPropertyTextAttribute.cs
- TextRangeEditTables.cs
- TypeDescriptorContext.cs
- TextUtf8RawTextWriter.cs
- UnrecognizedPolicyAssertionElement.cs
- HierarchicalDataSourceControl.cs
- ImmutableObjectAttribute.cs
- DoWorkEventArgs.cs
- DataView.cs
- PropertyNames.cs
- CryptoApi.cs
- ListSortDescription.cs
- HelpKeywordAttribute.cs
- XmlTextEncoder.cs
- ControlCollection.cs
- FormView.cs
- XmlIlTypeHelper.cs
- CompilationPass2TaskInternal.cs
- TrackingServices.cs
- MimeTypePropertyAttribute.cs
- Point3D.cs
- KeyGestureValueSerializer.cs
- VScrollProperties.cs
- SwitchLevelAttribute.cs
- DataGridViewSortCompareEventArgs.cs
- CodeDomDesignerLoader.cs
- PageFunction.cs
- XmlElementAttributes.cs
- StateRuntime.cs
- DynamicDataRoute.cs
- WorkflowFileItem.cs
- Tile.cs
- FlowDocumentFormatter.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- RunInstallerAttribute.cs
- DecimalMinMaxAggregationOperator.cs
- OneToOneMappingSerializer.cs
- DataColumnMapping.cs
- TextServicesManager.cs
- DataGridItemCollection.cs
- ListDictionaryInternal.cs
- DataGridViewCellCollection.cs