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
- XamlGridLengthSerializer.cs
- DbSourceCommand.cs
- ServicePrincipalNameElement.cs
- XmlAttributeAttribute.cs
- GuidelineCollection.cs
- PrimarySelectionGlyph.cs
- SQLChars.cs
- XmlDataImplementation.cs
- TreeViewHitTestInfo.cs
- AbandonedMutexException.cs
- XPathDocumentBuilder.cs
- SimpleHandlerFactory.cs
- MethodImplAttribute.cs
- CompiledIdentityConstraint.cs
- MemberAccessException.cs
- FreezableDefaultValueFactory.cs
- EqualityComparer.cs
- PrintController.cs
- Style.cs
- TokenBasedSetEnumerator.cs
- AsymmetricKeyExchangeDeformatter.cs
- ParallelTimeline.cs
- FontStyleConverter.cs
- HtmlObjectListAdapter.cs
- FramingDecoders.cs
- FlowDocumentPage.cs
- ConfigurationFileMap.cs
- PlainXmlWriter.cs
- ExpressionUtilities.cs
- ConstructorBuilder.cs
- NavigationProperty.cs
- Zone.cs
- MimeTypeMapper.cs
- KeyMatchBuilder.cs
- DelegateHelpers.Generated.cs
- util.cs
- TableLayoutSettingsTypeConverter.cs
- DispatchWrapper.cs
- FirstMatchCodeGroup.cs
- CallInfo.cs
- EntityTemplateUserControl.cs
- WrappedIUnknown.cs
- OpCodes.cs
- CommandSet.cs
- EventlogProvider.cs
- SkipQueryOptionExpression.cs
- SafeSecurityHandles.cs
- ServiceModelEnumValidatorAttribute.cs
- BypassElementCollection.cs
- HandledMouseEvent.cs
- pingexception.cs
- LicFileLicenseProvider.cs
- Constraint.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- CommandEventArgs.cs
- LayoutTableCell.cs
- MissingManifestResourceException.cs
- XmlSerializerAssemblyAttribute.cs
- AccessibleObject.cs
- HideDisabledControlAdapter.cs
- LoginUtil.cs
- Camera.cs
- ExternalDataExchangeClient.cs
- AccessControlEntry.cs
- SpinWait.cs
- PointCollection.cs
- ThumbAutomationPeer.cs
- DesignerTransactionCloseEvent.cs
- ArgumentException.cs
- CompatibleComparer.cs
- ColorConvertedBitmapExtension.cs
- _MultipleConnectAsync.cs
- DataObject.cs
- ApplicationTrust.cs
- XmlDataImplementation.cs
- baseaxisquery.cs
- ExecutionScope.cs
- ActivationArguments.cs
- AlternationConverter.cs
- PrimitiveXmlSerializers.cs
- HtmlInputPassword.cs
- UmAlQuraCalendar.cs
- ColumnTypeConverter.cs
- EraserBehavior.cs
- InvalidAsynchronousStateException.cs
- UnionExpr.cs
- XmlComplianceUtil.cs
- ConsoleCancelEventArgs.cs
- MultiSelectRootGridEntry.cs
- infer.cs
- XmlExpressionDumper.cs
- ObjectManager.cs
- ValueExpressions.cs
- RouteValueExpressionBuilder.cs
- WebUtil.cs
- TreeIterator.cs
- DataGridHeaderBorder.cs
- storagemappingitemcollection.viewdictionary.cs
- SizeAnimationClockResource.cs
- QueryResults.cs