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
- EpmCustomContentWriterNodeData.cs
- NativeMethods.cs
- XmlBoundElement.cs
- HtmlInputReset.cs
- ActivityIdHeader.cs
- bindurihelper.cs
- ParameterEditorUserControl.cs
- AccessibilityHelperForVista.cs
- PathSegment.cs
- ClrPerspective.cs
- CalendarDay.cs
- RichTextBox.cs
- TemplatePropertyEntry.cs
- TimeIntervalCollection.cs
- StreamReader.cs
- HelpEvent.cs
- NetworkAddressChange.cs
- IdleTimeoutMonitor.cs
- ScriptManager.cs
- WebBrowsableAttribute.cs
- OperationInvokerBehavior.cs
- PerformanceCounterCategory.cs
- XmlIlTypeHelper.cs
- AstNode.cs
- ClientSettingsSection.cs
- SQLInt32Storage.cs
- _NegotiateClient.cs
- ArgIterator.cs
- odbcmetadatafactory.cs
- DataGridViewBindingCompleteEventArgs.cs
- PointLightBase.cs
- PaginationProgressEventArgs.cs
- FixedSOMTableRow.cs
- GridEntry.cs
- sortedlist.cs
- VisualBrush.cs
- SystemIPInterfaceProperties.cs
- RtfToXamlReader.cs
- Parser.cs
- RegistryExceptionHelper.cs
- webeventbuffer.cs
- PropertyNames.cs
- MatrixKeyFrameCollection.cs
- SessionStateUtil.cs
- TextPatternIdentifiers.cs
- TaskExceptionHolder.cs
- ApplicationManager.cs
- PriorityItem.cs
- SystemGatewayIPAddressInformation.cs
- CommandHelper.cs
- TypeKeyValue.cs
- ClientOperationFormatterProvider.cs
- RoutedPropertyChangedEventArgs.cs
- WarningException.cs
- ViewStateAttachedPropertyFeature.cs
- XsdBuildProvider.cs
- CompositeClientFormatter.cs
- counter.cs
- RegistrationServices.cs
- XmlSchemaAttributeGroup.cs
- Visitor.cs
- SoapElementAttribute.cs
- BasicBrowserDialog.designer.cs
- PixelShader.cs
- DataGridViewCell.cs
- Stylesheet.cs
- DesignTimeTemplateParser.cs
- RemoveStoryboard.cs
- LocationUpdates.cs
- AssociationSet.cs
- JsonDeserializer.cs
- FormViewCommandEventArgs.cs
- Utils.cs
- MatrixCamera.cs
- WindowsListViewItemStartMenu.cs
- CodeExporter.cs
- ServiceDiscoveryElement.cs
- ModulesEntry.cs
- UnauthorizedWebPart.cs
- KeyValuePair.cs
- FragmentQuery.cs
- EnvelopedPkcs7.cs
- CompiledQueryCacheEntry.cs
- FontStretchConverter.cs
- OLEDB_Enum.cs
- CollectionsUtil.cs
- InnerItemCollectionView.cs
- CompositeScriptReferenceEventArgs.cs
- DirectoryNotFoundException.cs
- DataGridPagingPage.cs
- AttachInfo.cs
- webproxy.cs
- CollectionMarkupSerializer.cs
- XmlILTrace.cs
- QilIterator.cs
- MetadataItemEmitter.cs
- MetabaseServerConfig.cs
- Stack.cs
- Empty.cs
- CodeVariableDeclarationStatement.cs