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
- LifetimeServices.cs
- DnsPermission.cs
- BaseInfoTable.cs
- SemanticValue.cs
- LinqDataSourceContextEventArgs.cs
- PropertyTabAttribute.cs
- ApplicationContext.cs
- URI.cs
- TabletDeviceInfo.cs
- PreviewKeyDownEventArgs.cs
- XmlSchemaSubstitutionGroup.cs
- DataGridViewCellValueEventArgs.cs
- TreeWalkHelper.cs
- InputReport.cs
- EventlogProvider.cs
- SecurityContextTokenCache.cs
- OdbcConnection.cs
- Classification.cs
- DataColumnCollection.cs
- EpmContentSerializer.cs
- PageAdapter.cs
- InvocationExpression.cs
- StatusBarItem.cs
- ReflectEventDescriptor.cs
- DragAssistanceManager.cs
- TabItemAutomationPeer.cs
- TextHidden.cs
- Privilege.cs
- WorkflowInstanceExtensionManager.cs
- COM2IDispatchConverter.cs
- DocumentPageTextView.cs
- TriggerActionCollection.cs
- DefaultEvaluationContext.cs
- RuleConditionDialog.cs
- GZipStream.cs
- SQLString.cs
- KeyTime.cs
- UnsignedPublishLicense.cs
- PathParser.cs
- SqlProfileProvider.cs
- UserPreferenceChangedEventArgs.cs
- GridPatternIdentifiers.cs
- Nullable.cs
- ResXBuildProvider.cs
- SctClaimSerializer.cs
- DataGridTablesFactory.cs
- BufferedStream.cs
- FileLogRecord.cs
- NativeCppClassAttribute.cs
- ContextConfiguration.cs
- RecordManager.cs
- UnionExpr.cs
- InvalidEnumArgumentException.cs
- GrabHandleGlyph.cs
- TextTreeUndoUnit.cs
- WindowsGraphicsWrapper.cs
- DateTimeFormat.cs
- AppSettingsExpressionBuilder.cs
- ValueUtilsSmi.cs
- WorkItem.cs
- HttpModuleActionCollection.cs
- AppDomainShutdownMonitor.cs
- LineSegment.cs
- Schedule.cs
- NumericPagerField.cs
- FlowDocumentPaginator.cs
- IgnoreSectionHandler.cs
- OdbcException.cs
- XmlSchemaImporter.cs
- ItemCollection.cs
- SystemThemeKey.cs
- StatusBarAutomationPeer.cs
- Scripts.cs
- WebZone.cs
- ComAdminInterfaces.cs
- CssStyleCollection.cs
- RawContentTypeMapper.cs
- TextPointerBase.cs
- SimplePropertyEntry.cs
- _SSPIWrapper.cs
- PartBasedPackageProperties.cs
- DataControlFieldHeaderCell.cs
- AttachedPropertyBrowsableAttribute.cs
- DataShape.cs
- DbgUtil.cs
- SurrogateChar.cs
- UndirectedGraph.cs
- ContextItem.cs
- PrivilegedConfigurationManager.cs
- ConnectionStringEditor.cs
- MessageCredentialType.cs
- Selector.cs
- XmlSchemaElement.cs
- FieldNameLookup.cs
- InstalledVoice.cs
- DirectoryNotFoundException.cs
- WindowInteropHelper.cs
- ClientTarget.cs
- ItemsPanelTemplate.cs
- AnnotationDocumentPaginator.cs