Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DefaultBinder.cs
- EventRoute.cs
- XamlPathDataSerializer.cs
- IntranetCredentialPolicy.cs
- KnownColorTable.cs
- EntityCommandExecutionException.cs
- DeferredReference.cs
- ProxyHelper.cs
- ConstraintStruct.cs
- SqlTriggerContext.cs
- AsyncOperationManager.cs
- WebMessageFormatHelper.cs
- ContextMenuStrip.cs
- SecurityIdentifierConverter.cs
- XmlSchemaException.cs
- CodeExpressionStatement.cs
- RestHandler.cs
- Filter.cs
- httpapplicationstate.cs
- LicenseContext.cs
- ListComponentEditorPage.cs
- FunctionQuery.cs
- BitmapSource.cs
- AvtEvent.cs
- BuildProvider.cs
- ColumnCollection.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- EUCJPEncoding.cs
- SchemaImporterExtension.cs
- PublisherIdentityPermission.cs
- CursorEditor.cs
- RIPEMD160Managed.cs
- CompositeControl.cs
- WebPartDescription.cs
- TreeChangeInfo.cs
- FlowDocumentReader.cs
- CornerRadiusConverter.cs
- DynamicDiscoveryDocument.cs
- SemaphoreSecurity.cs
- RowCache.cs
- WorkflowDebuggerSteppingAttribute.cs
- SimpleApplicationHost.cs
- RegexCharClass.cs
- LeaseManager.cs
- RegexInterpreter.cs
- ClientType.cs
- FtpWebRequest.cs
- ProfileSettingsCollection.cs
- PeerNameRecord.cs
- ComponentConverter.cs
- StateChangeEvent.cs
- SafeNativeMethodsCLR.cs
- MethodBuilder.cs
- FtpWebRequest.cs
- UIElement.cs
- Win32MouseDevice.cs
- SettingsSection.cs
- OracleEncoding.cs
- EntityCommandExecutionException.cs
- ObjectKeyFrameCollection.cs
- IntranetCredentialPolicy.cs
- PartialList.cs
- _TransmitFileOverlappedAsyncResult.cs
- SqlLiftWhereClauses.cs
- _RequestLifetimeSetter.cs
- SQLInt32Storage.cs
- ResourcePool.cs
- TargetPerspective.cs
- ObjectCacheHost.cs
- FileDialog.cs
- EntityTypeBase.cs
- TypeDescriptionProvider.cs
- PlatformNotSupportedException.cs
- StylusShape.cs
- WsdlExporter.cs
- SettingsPropertyCollection.cs
- ApplicationServicesHostFactory.cs
- ElapsedEventArgs.cs
- UpdatePanelControlTrigger.cs
- ClientSettings.cs
- NestPullup.cs
- GCHandleCookieTable.cs
- HybridDictionary.cs
- ColorIndependentAnimationStorage.cs
- ResolvedKeyFrameEntry.cs
- ByteStreamBufferedMessageData.cs
- ImageKeyConverter.cs
- ZoneButton.cs
- InstanceCompleteException.cs
- BatchParser.cs
- PersianCalendar.cs
- SqlProcedureAttribute.cs
- ObsoleteAttribute.cs
- SQLInt16Storage.cs
- TreeViewItem.cs
- TransactionContext.cs
- Converter.cs
- ErrorFormatter.cs
- PropertyItemInternal.cs
- XmlC14NWriter.cs