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
- Light.cs
- CapabilitiesSection.cs
- ModuleElement.cs
- AdjustableArrowCap.cs
- InputScopeNameConverter.cs
- SiteMapDesignerDataSourceView.cs
- HandledEventArgs.cs
- DefaultAssemblyResolver.cs
- TagMapInfo.cs
- EventSourceCreationData.cs
- XmlDocumentFragment.cs
- DetailsViewModeEventArgs.cs
- GrammarBuilderDictation.cs
- HostProtectionPermission.cs
- Walker.cs
- BamlCollectionHolder.cs
- ResourceReader.cs
- FunctionQuery.cs
- EntityClassGenerator.cs
- IOException.cs
- MutexSecurity.cs
- Matrix3DConverter.cs
- MaskedTextProvider.cs
- CommandTreeTypeHelper.cs
- Odbc32.cs
- TailCallAnalyzer.cs
- GridViewColumnCollection.cs
- DataGridViewDesigner.cs
- InstanceContextManager.cs
- UserControlBuildProvider.cs
- XmlLinkedNode.cs
- WinCategoryAttribute.cs
- DetailsViewUpdateEventArgs.cs
- DataGridViewIntLinkedList.cs
- DoubleLinkList.cs
- ActivationWorker.cs
- DefaultSerializationProviderAttribute.cs
- ChangeBlockUndoRecord.cs
- WindowsListBox.cs
- ExtensionSimplifierMarkupObject.cs
- ListControl.cs
- TextSpan.cs
- XmlCDATASection.cs
- IsolatedStoragePermission.cs
- ModelTreeEnumerator.cs
- SmiMetaDataProperty.cs
- PropertyGeneratedEventArgs.cs
- LayoutTable.cs
- RootProfilePropertySettingsCollection.cs
- CodeAttachEventStatement.cs
- ReturnType.cs
- Assembly.cs
- ToolStripActionList.cs
- EventBuilder.cs
- InvalidProgramException.cs
- WorkerRequest.cs
- WebPartHeaderCloseVerb.cs
- RightNameExpirationInfoPair.cs
- IteratorFilter.cs
- PageAsyncTaskManager.cs
- ScrollChrome.cs
- SelectionEditingBehavior.cs
- CodeTypeMemberCollection.cs
- StringSorter.cs
- IgnoreFlushAndCloseStream.cs
- AttachedAnnotationChangedEventArgs.cs
- WebSysDisplayNameAttribute.cs
- DesignerHierarchicalDataSourceView.cs
- XmlCodeExporter.cs
- BufferAllocator.cs
- SoapElementAttribute.cs
- PersistChildrenAttribute.cs
- HandledMouseEvent.cs
- DataGridViewCellEventArgs.cs
- ConfigXmlSignificantWhitespace.cs
- BindingBase.cs
- AppSettingsExpressionBuilder.cs
- WebControlParameterProxy.cs
- NamespaceInfo.cs
- TextTreeDeleteContentUndoUnit.cs
- codemethodreferenceexpression.cs
- IDReferencePropertyAttribute.cs
- TemplateBamlTreeBuilder.cs
- TargetControlTypeCache.cs
- Exceptions.cs
- WpfKnownTypeInvoker.cs
- FormatVersion.cs
- Stack.cs
- ColumnBinding.cs
- FastPropertyAccessor.cs
- SmtpLoginAuthenticationModule.cs
- MaterialCollection.cs
- GridItemPattern.cs
- MouseEventArgs.cs
- Membership.cs
- DeviceContext2.cs
- DesignerTextWriter.cs
- Splitter.cs
- OletxEnlistment.cs
- IApplicationTrustManager.cs