Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- CodeExpressionStatement.cs
- SqlRetyper.cs
- DataServiceRequestArgs.cs
- ContractMapping.cs
- TextStore.cs
- Paragraph.cs
- AnnotationHelper.cs
- TextReader.cs
- Rectangle.cs
- TypeDescriptionProvider.cs
- AttributeAction.cs
- CodeBinaryOperatorExpression.cs
- DataGridItemEventArgs.cs
- CodeCastExpression.cs
- CodeGroup.cs
- RightsManagementInformation.cs
- SelectionRangeConverter.cs
- TCPClient.cs
- Margins.cs
- WebReferenceCollection.cs
- WebConfigManager.cs
- RuleCache.cs
- StatusBarDesigner.cs
- PrivilegeNotHeldException.cs
- FontConverter.cs
- SecurityPolicySection.cs
- RelatedImageListAttribute.cs
- Light.cs
- DeliveryRequirementsAttribute.cs
- ConstraintEnumerator.cs
- COM2ColorConverter.cs
- DateTimeSerializationSection.cs
- KeySpline.cs
- ToolStripScrollButton.cs
- Vector3DCollection.cs
- ElementsClipboardData.cs
- RecommendedAsConfigurableAttribute.cs
- MsmqDiagnostics.cs
- LinearGradientBrush.cs
- Privilege.cs
- PartialClassGenerationTaskInternal.cs
- CmsUtils.cs
- SimplePropertyEntry.cs
- FrameworkObject.cs
- TextTrailingCharacterEllipsis.cs
- UTF7Encoding.cs
- CompilerLocalReference.cs
- BlurEffect.cs
- WebPageTraceListener.cs
- documentation.cs
- Visitor.cs
- SoapObjectWriter.cs
- _NegoStream.cs
- XPathNodeHelper.cs
- TaskFormBase.cs
- DriveNotFoundException.cs
- ThreadAbortException.cs
- DependencyPropertyAttribute.cs
- NonParentingControl.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- TimeZoneNotFoundException.cs
- SqlFormatter.cs
- CompilationUtil.cs
- ProtocolsConfigurationHandler.cs
- Cell.cs
- MarginCollapsingState.cs
- ExtendedProperty.cs
- NetMsmqSecurityElement.cs
- XsltQilFactory.cs
- StructuredProperty.cs
- SoapObjectReader.cs
- uribuilder.cs
- RichTextBoxConstants.cs
- TablePatternIdentifiers.cs
- BufferedStream2.cs
- StyleSelector.cs
- MobileTextWriter.cs
- SafeIUnknown.cs
- XmlSignatureManifest.cs
- ToolboxItemAttribute.cs
- ServiceXNameTypeConverter.cs
- ResXDataNode.cs
- Model3D.cs
- ReadingWritingEntityEventArgs.cs
- TemplateColumn.cs
- UIElementParagraph.cs
- COSERVERINFO.cs
- AnnotationService.cs
- DeviceContexts.cs
- XmlReaderSettings.cs
- PerfCounters.cs
- SourceLineInfo.cs
- DynamicAttribute.cs
- activationcontext.cs
- SrgsNameValueTag.cs
- ContentPathSegment.cs
- EditorZone.cs
- RequestCacheValidator.cs
- MutexSecurity.cs
- HijriCalendar.cs