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
- CodeTypeMemberCollection.cs
- PropertyIDSet.cs
- WindowsMenu.cs
- HitTestDrawingContextWalker.cs
- WFItemsToSpacerVisibility.cs
- __ConsoleStream.cs
- Geometry.cs
- ContactManager.cs
- ParameterReplacerVisitor.cs
- ResourcePermissionBase.cs
- BamlWriter.cs
- EventLogEntry.cs
- ToolStripContainer.cs
- HttpHeaderCollection.cs
- XamlStream.cs
- LineProperties.cs
- ContextItemManager.cs
- FixedSOMLineRanges.cs
- WorkflowPrinting.cs
- ExpandedWrapper.cs
- PagerSettings.cs
- WebControlAdapter.cs
- ListDictionaryInternal.cs
- SelectedDatesCollection.cs
- StreamGeometryContext.cs
- BasicExpressionVisitor.cs
- ColorTypeConverter.cs
- StatusBar.cs
- AncillaryOps.cs
- BufferedGraphicsManager.cs
- PropertiesTab.cs
- AspCompat.cs
- FlowDocumentReaderAutomationPeer.cs
- TabControl.cs
- IntranetCredentialPolicy.cs
- PropertyStore.cs
- ExceptQueryOperator.cs
- __FastResourceComparer.cs
- URL.cs
- DataGridViewUtilities.cs
- ResourceReader.cs
- OleDbCommand.cs
- ErrorHandler.cs
- MatrixIndependentAnimationStorage.cs
- VirtualDirectoryMappingCollection.cs
- SR.cs
- AspCompat.cs
- SqlBooleanizer.cs
- ImpersonationContext.cs
- CreateUserWizard.cs
- Preprocessor.cs
- DocumentXmlWriter.cs
- ExpressionBindingCollection.cs
- UnknownWrapper.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- MenuStrip.cs
- AnimationException.cs
- ImageMapEventArgs.cs
- GeometryModel3D.cs
- OracleBFile.cs
- NamespaceList.cs
- DefaultEventAttribute.cs
- TemplateBaseAction.cs
- SqlDataSourceSelectingEventArgs.cs
- ErrorHandler.cs
- XamlParser.cs
- CfgSemanticTag.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PointConverter.cs
- SmiMetaData.cs
- SqlReorderer.cs
- WebPartConnectVerb.cs
- QilName.cs
- PropertyMapper.cs
- TemplateControlCodeDomTreeGenerator.cs
- LayoutUtils.cs
- DateTimePicker.cs
- BoundPropertyEntry.cs
- LogWriteRestartAreaAsyncResult.cs
- StreamGeometry.cs
- PriorityQueue.cs
- CopyAttributesAction.cs
- AdRotator.cs
- UnsafeCollabNativeMethods.cs
- EdmRelationshipRoleAttribute.cs
- PermissionToken.cs
- xmlNames.cs
- ResourceExpressionBuilder.cs
- UIElementParaClient.cs
- BaseTemplateBuildProvider.cs
- Type.cs
- Serializer.cs
- SectionXmlInfo.cs
- Parser.cs
- TraceContextRecord.cs
- ParameterCollection.cs
- StylusShape.cs
- ClientSettingsProvider.cs
- DummyDataSource.cs
- Certificate.cs