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
- ToolStripRendererSwitcher.cs
- OleDbFactory.cs
- Misc.cs
- SystemEvents.cs
- ToolStripGripRenderEventArgs.cs
- OleDbPermission.cs
- ObjectItemLoadingSessionData.cs
- DataViewListener.cs
- TypeToken.cs
- DoubleCollectionConverter.cs
- DifferencingCollection.cs
- TemplateControlParser.cs
- DocumentOutline.cs
- TextOnlyOutput.cs
- IRCollection.cs
- CustomError.cs
- MetabaseServerConfig.cs
- RijndaelManaged.cs
- TableItemPatternIdentifiers.cs
- LabelLiteral.cs
- SuppressMergeCheckAttribute.cs
- TableColumnCollection.cs
- OdbcCommandBuilder.cs
- SuppressMergeCheckAttribute.cs
- KeyGesture.cs
- XmlObjectSerializerContext.cs
- LayoutSettings.cs
- NavigatingCancelEventArgs.cs
- AppDomainProtocolHandler.cs
- EnumerableRowCollectionExtensions.cs
- Drawing.cs
- control.ime.cs
- TreeView.cs
- HiddenFieldDesigner.cs
- XmlWriterDelegator.cs
- ConnectionStringsExpressionBuilder.cs
- ToolStripKeyboardHandlingService.cs
- HttpCapabilitiesSectionHandler.cs
- FlowDocumentReader.cs
- Vector3DAnimationBase.cs
- SetterBaseCollection.cs
- Odbc32.cs
- ModelServiceImpl.cs
- GenericNameHandler.cs
- FormClosedEvent.cs
- CacheDependency.cs
- FontEditor.cs
- PageAsyncTaskManager.cs
- KeyTime.cs
- PageThemeParser.cs
- UnmanagedMemoryStream.cs
- GridViewColumnHeaderAutomationPeer.cs
- SqlInternalConnectionTds.cs
- WorkflowRuntimeSection.cs
- ThrowHelper.cs
- TcpHostedTransportConfiguration.cs
- BoundColumn.cs
- SafeTimerHandle.cs
- ExecutedRoutedEventArgs.cs
- _IPv6Address.cs
- Renderer.cs
- FontDialog.cs
- LinkLabelLinkClickedEvent.cs
- Typeface.cs
- DictationGrammar.cs
- NotifyCollectionChangedEventArgs.cs
- SatelliteContractVersionAttribute.cs
- FacetValueContainer.cs
- CommandHelpers.cs
- ProfessionalColors.cs
- TextTabProperties.cs
- _ConnectionGroup.cs
- ConstructorArgumentAttribute.cs
- Int32Converter.cs
- GridViewColumnHeader.cs
- MemoryPressure.cs
- XmlHierarchyData.cs
- XmlCharCheckingReader.cs
- InheritedPropertyChangedEventArgs.cs
- xmlfixedPageInfo.cs
- ImageListStreamer.cs
- UrlMappingsSection.cs
- DefaultValueTypeConverter.cs
- OdbcConnectionPoolProviderInfo.cs
- MarkupProperty.cs
- HttpDebugHandler.cs
- BridgeDataReader.cs
- TableAutomationPeer.cs
- PackageStore.cs
- WebPartHeaderCloseVerb.cs
- HtmlInputSubmit.cs
- OperationDescription.cs
- EnumMember.cs
- ReaderWriterLock.cs
- GridViewCommandEventArgs.cs
- TabControl.cs
- ClientConvert.cs
- OrCondition.cs
- XmlDataSourceDesigner.cs
- CompositeFontFamily.cs