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
- ConsumerConnectionPointCollection.cs
- DataBoundControlHelper.cs
- NTAccount.cs
- ToolbarAUtomationPeer.cs
- ControlParameter.cs
- GenericTypeParameterBuilder.cs
- LinqToSqlWrapper.cs
- Model3DGroup.cs
- SqlColumnizer.cs
- WithStatement.cs
- StringDictionary.cs
- RectValueSerializer.cs
- _HeaderInfo.cs
- ApplicationActivator.cs
- AssemblyUtil.cs
- FillRuleValidation.cs
- _Events.cs
- RectangleGeometry.cs
- SiteMembershipCondition.cs
- PartialCachingAttribute.cs
- UrlEncodedParameterWriter.cs
- SafeHandles.cs
- XmlNamespaceDeclarationsAttribute.cs
- Drawing.cs
- TextTreeDeleteContentUndoUnit.cs
- _ContextAwareResult.cs
- XmlDataSourceView.cs
- SqlFileStream.cs
- AutomationPropertyInfo.cs
- WebPartCloseVerb.cs
- XmlAttributeAttribute.cs
- SerializableAttribute.cs
- QilGenerator.cs
- DelayLoadType.cs
- ObjectCache.cs
- ParameterCollection.cs
- StyleCollection.cs
- ReferenceEqualityComparer.cs
- ClientOptions.cs
- ListControlConvertEventArgs.cs
- SerializerProvider.cs
- DeleteIndexBinder.cs
- ReadOnlyPropertyMetadata.cs
- HttpServerUtilityBase.cs
- nulltextnavigator.cs
- CodeDefaultValueExpression.cs
- NotFiniteNumberException.cs
- TextRangeEditLists.cs
- HotSpotCollection.cs
- FilteredAttributeCollection.cs
- TemporaryBitmapFile.cs
- SimpleMailWebEventProvider.cs
- InputScopeConverter.cs
- Pen.cs
- Config.cs
- SafeNativeMethodsMilCoreApi.cs
- WindowsGraphics2.cs
- BrowserCapabilitiesCompiler.cs
- ObjectViewQueryResultData.cs
- IItemContainerGenerator.cs
- IpcServerChannel.cs
- Currency.cs
- HandleCollector.cs
- PolyQuadraticBezierSegment.cs
- UITypeEditor.cs
- RMEnrollmentPage2.cs
- StylusOverProperty.cs
- DateTimeConstantAttribute.cs
- DynamicDocumentPaginator.cs
- OdbcConnectionHandle.cs
- ExitEventArgs.cs
- SortedDictionary.cs
- Single.cs
- NativeWindow.cs
- followingquery.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SafeCryptoHandles.cs
- SafeNativeMethods.cs
- RuleSetReference.cs
- EntityDataSourceQueryBuilder.cs
- ClientSettingsStore.cs
- RemotingClientProxy.cs
- ArrayTypeMismatchException.cs
- InputBinding.cs
- ReadonlyMessageFilter.cs
- AutoGeneratedFieldProperties.cs
- LoggedException.cs
- StackSpiller.cs
- EventArgs.cs
- ToolStripComboBox.cs
- MouseGesture.cs
- NetworkStream.cs
- ProgressChangedEventArgs.cs
- ReflectPropertyDescriptor.cs
- CultureSpecificStringDictionary.cs
- ApplicationInterop.cs
- RightNameExpirationInfoPair.cs
- GridViewCellAutomationPeer.cs
- RootProfilePropertySettingsCollection.cs
- ByteStreamGeometryContext.cs