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
- DateTimeStorage.cs
- WpfSharedXamlSchemaContext.cs
- ValidationSummary.cs
- DefaultEvaluationContext.cs
- BlobPersonalizationState.cs
- ColumnResizeAdorner.cs
- ItemAutomationPeer.cs
- serverconfig.cs
- PrintControllerWithStatusDialog.cs
- Window.cs
- cryptoapiTransform.cs
- Console.cs
- DataListItemCollection.cs
- XsltArgumentList.cs
- TrailingSpaceComparer.cs
- HotCommands.cs
- LinqDataSourceUpdateEventArgs.cs
- SetUserPreferenceRequest.cs
- SwitchAttribute.cs
- ListDependantCardsRequest.cs
- Psha1DerivedKeyGeneratorHelper.cs
- Int32Storage.cs
- HtmlUtf8RawTextWriter.cs
- DeleteIndexBinder.cs
- selecteditemcollection.cs
- RegistryKey.cs
- ISAPIWorkerRequest.cs
- DbConnectionStringCommon.cs
- PropertySourceInfo.cs
- AnimatedTypeHelpers.cs
- ComplexTypeEmitter.cs
- ExceptionUtil.cs
- NullableConverter.cs
- HtmlMeta.cs
- ClientSettingsStore.cs
- TextChangedEventArgs.cs
- MenuItemCollection.cs
- CriticalHandle.cs
- CustomValidator.cs
- AnnotationMap.cs
- ReflectPropertyDescriptor.cs
- Color.cs
- WebPartVerbsEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- WindowsHyperlink.cs
- UserNamePasswordClientCredential.cs
- SplineKeyFrames.cs
- Lasso.cs
- FixedSOMGroup.cs
- SmiEventSink.cs
- HtmlSelectionListAdapter.cs
- TypeRefElement.cs
- PrefixHandle.cs
- InvalidEnumArgumentException.cs
- While.cs
- SoundPlayer.cs
- ExecutionContext.cs
- ItemsControl.cs
- ScrollEventArgs.cs
- ScriptDescriptor.cs
- ArraySortHelper.cs
- UDPClient.cs
- ProxyHelper.cs
- LineMetrics.cs
- ApplicationInterop.cs
- ToolStripMenuItemCodeDomSerializer.cs
- EmptyQuery.cs
- IdentityModelStringsVersion1.cs
- ModelServiceImpl.cs
- BCryptHashAlgorithm.cs
- KeyNotFoundException.cs
- DBConnectionString.cs
- Stroke.cs
- DesignerDataTableBase.cs
- RegionInfo.cs
- DbDeleteCommandTree.cs
- WaitHandle.cs
- StorageEntitySetMapping.cs
- UpdatePanelTriggerCollection.cs
- Timer.cs
- GenericXmlSecurityTokenAuthenticator.cs
- _IPv6Address.cs
- SmiMetaDataProperty.cs
- TextTreeDeleteContentUndoUnit.cs
- ReadOnlyDictionary.cs
- WebAdminConfigurationHelper.cs
- VirtualPathData.cs
- JsonReaderDelegator.cs
- HtmlInputReset.cs
- DNS.cs
- BamlResourceContent.cs
- HttpModuleActionCollection.cs
- TypeGeneratedEventArgs.cs
- categoryentry.cs
- DocumentSchemaValidator.cs
- Visual.cs
- ExpressionEvaluator.cs
- FastEncoderWindow.cs
- PropertyDescriptorGridEntry.cs
- XPathConvert.cs