Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Integration / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebReferenceOptions.cs
- PolyLineSegmentFigureLogic.cs
- AspNetRouteServiceHttpHandler.cs
- URL.cs
- ServicePointManagerElement.cs
- NewExpression.cs
- TextDpi.cs
- XPathSelectionIterator.cs
- DataTransferEventArgs.cs
- WpfGeneratedKnownTypes.cs
- TypeUtil.cs
- AdornedElementPlaceholder.cs
- StorageScalarPropertyMapping.cs
- DataGridViewComboBoxEditingControl.cs
- AspCompat.cs
- DefaultMemberAttribute.cs
- DynamicDataExtensions.cs
- RealizationDrawingContextWalker.cs
- TaskForm.cs
- IImplicitResourceProvider.cs
- TimersDescriptionAttribute.cs
- MachinePropertyVariants.cs
- RectangleConverter.cs
- FontStretches.cs
- GregorianCalendar.cs
- HwndProxyElementProvider.cs
- ChameleonKey.cs
- TextTreeUndo.cs
- RectangleGeometry.cs
- RuleProcessor.cs
- BackStopAuthenticationModule.cs
- QueryCacheEntry.cs
- ObjectDisposedException.cs
- ValidationError.cs
- ResourceCategoryAttribute.cs
- TimerEventSubscription.cs
- ContainerFilterService.cs
- FormsAuthenticationUser.cs
- HMACSHA384.cs
- LockRenewalTask.cs
- PersonalizationProviderHelper.cs
- TypeInitializationException.cs
- DataGridViewRow.cs
- FixUpCollection.cs
- XmlSchemaGroupRef.cs
- PropertyFilter.cs
- SimpleWebHandlerParser.cs
- DocobjHost.cs
- EntityCommand.cs
- EntityTypeBase.cs
- ThreadStateException.cs
- TraceContext.cs
- KeyInstance.cs
- ResourceContainer.cs
- IriParsingElement.cs
- FormView.cs
- ConnectionManagementElementCollection.cs
- EntityContainerRelationshipSetEnd.cs
- LongValidatorAttribute.cs
- TrackingLocation.cs
- SystemFonts.cs
- TargetParameterCountException.cs
- OneOfConst.cs
- ScrollBar.cs
- LifetimeServices.cs
- OutputCacheSettingsSection.cs
- Rectangle.cs
- ServiceHttpHandlerFactory.cs
- ControlHelper.cs
- TailCallAnalyzer.cs
- GeometryGroup.cs
- BitmapEffect.cs
- Enum.cs
- Pen.cs
- ProtocolsConfigurationHandler.cs
- FaultFormatter.cs
- ReachDocumentReferenceCollectionSerializer.cs
- RangeValidator.cs
- AxisAngleRotation3D.cs
- ColorAnimation.cs
- ReflectionTypeLoadException.cs
- KeyedCollection.cs
- Vector3DAnimationBase.cs
- StylusEventArgs.cs
- ContentTextAutomationPeer.cs
- Semaphore.cs
- HostingEnvironmentException.cs
- GraphicsPathIterator.cs
- CloudCollection.cs
- CompilerGeneratedAttribute.cs
- EntityParameter.cs
- StrokeNodeData.cs
- PreviewPageInfo.cs
- FormsAuthentication.cs
- SmiEventSink.cs
- MetadataStore.cs
- MetaDataInfo.cs
- FixedSOMLineCollection.cs
- WeakReferenceKey.cs
- DetailsViewRow.cs