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
- FlagPanel.cs
- CategoryNameCollection.cs
- ObjectRef.cs
- NativeMethods.cs
- UncommonField.cs
- CqlParserHelpers.cs
- MissingManifestResourceException.cs
- CodeConstructor.cs
- ContainerParagraph.cs
- PagePropertiesChangingEventArgs.cs
- TransformFinalBlockRequest.cs
- FocusManager.cs
- MatrixTransform.cs
- _LazyAsyncResult.cs
- RoleBoolean.cs
- TextCharacters.cs
- AuthenticationModuleElementCollection.cs
- CompoundFileDeflateTransform.cs
- RuntimeArgumentHandle.cs
- QueryStatement.cs
- EntityDataSourceChangingEventArgs.cs
- RangeValueProviderWrapper.cs
- CacheMemory.cs
- DataGridViewCellStyleConverter.cs
- ClaimTypes.cs
- BinHexDecoder.cs
- DomainUpDown.cs
- DbMetaDataColumnNames.cs
- XmlHierarchicalEnumerable.cs
- SharedDp.cs
- ProjectionPruner.cs
- MessageContractImporter.cs
- HighContrastHelper.cs
- ToolboxBitmapAttribute.cs
- X509RawDataKeyIdentifierClause.cs
- CallbackException.cs
- TagMapInfo.cs
- Viewport3DAutomationPeer.cs
- RayHitTestParameters.cs
- AssemblyInfo.cs
- DataView.cs
- PointConverter.cs
- GlyphInfoList.cs
- HandlerBase.cs
- PinProtectionHelper.cs
- TraceInternal.cs
- PartDesigner.cs
- SoapSchemaImporter.cs
- CaseStatementSlot.cs
- TextureBrush.cs
- ToolStripItemImageRenderEventArgs.cs
- SafeCryptContextHandle.cs
- ActivityBindForm.cs
- EditableTreeList.cs
- Automation.cs
- PrimitiveCodeDomSerializer.cs
- DataControlField.cs
- EditingCommands.cs
- DiagnosticTraceSource.cs
- AssemblyNameUtility.cs
- HtmlMeta.cs
- IsolatedStoragePermission.cs
- AsymmetricSignatureFormatter.cs
- RadioButton.cs
- ScrollContentPresenter.cs
- HttpHandlersSection.cs
- GeneralTransform2DTo3DTo2D.cs
- LayoutManager.cs
- Authorization.cs
- VideoDrawing.cs
- FixedFindEngine.cs
- DataContractSet.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- Memoizer.cs
- XsdBuilder.cs
- Cursor.cs
- WebPartConnectionsCloseVerb.cs
- SizeFConverter.cs
- ipaddressinformationcollection.cs
- ClientTargetCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- ExpandSegmentCollection.cs
- SimpleBitVector32.cs
- SignatureHelper.cs
- TextDpi.cs
- SingleObjectCollection.cs
- HandleCollector.cs
- PropertyFilterAttribute.cs
- _SslStream.cs
- WriteFileContext.cs
- EntityDataSourceView.cs
- TypographyProperties.cs
- SqlColumnizer.cs
- ToolStripPanelRow.cs
- TdsRecordBufferSetter.cs
- GridLengthConverter.cs
- RangeValidator.cs
- X500Name.cs
- safelinkcollection.cs
- TimeSpanOrInfiniteConverter.cs