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
- ObjectDataSource.cs
- AuthenticationSection.cs
- TransactionFlowOption.cs
- CSharpCodeProvider.cs
- SqlServices.cs
- GuidConverter.cs
- OdbcDataReader.cs
- SymmetricAlgorithm.cs
- EraserBehavior.cs
- _ConnectOverlappedAsyncResult.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- EntityViewGenerationConstants.cs
- HttpRequest.cs
- sqlmetadatafactory.cs
- ListManagerBindingsCollection.cs
- ErrorRuntimeConfig.cs
- BehaviorDragDropEventArgs.cs
- TreeViewImageKeyConverter.cs
- InfoCardArgumentException.cs
- WebPartPersonalization.cs
- FontFamilyValueSerializer.cs
- HttpCapabilitiesEvaluator.cs
- InvokeFunc.cs
- TypeElementCollection.cs
- URIFormatException.cs
- XmlSignificantWhitespace.cs
- ColumnWidthChangedEvent.cs
- DeferredElementTreeState.cs
- StrokeNodeEnumerator.cs
- RequestResponse.cs
- SessionParameter.cs
- Misc.cs
- SiteMapDataSource.cs
- Compress.cs
- CollectionChange.cs
- ExpandCollapseProviderWrapper.cs
- DataGridViewRowHeaderCell.cs
- VectorCollectionConverter.cs
- SystemResources.cs
- IsolatedStoragePermission.cs
- DebugView.cs
- Directory.cs
- GraphicsPath.cs
- MenuRendererClassic.cs
- IImplicitResourceProvider.cs
- PropertyEmitterBase.cs
- TranslateTransform3D.cs
- ActiveXContainer.cs
- MultilineStringEditor.cs
- ObjectDataSourceWizardForm.cs
- SerializationEventsCache.cs
- DefaultEventAttribute.cs
- EventWaitHandle.cs
- ConfigXmlText.cs
- GeneralTransformGroup.cs
- WindowsTitleBar.cs
- XDRSchema.cs
- ApplicationProxyInternal.cs
- InheritanceContextChangedEventManager.cs
- CaseInsensitiveOrdinalStringComparer.cs
- QilInvokeEarlyBound.cs
- RtfFormatStack.cs
- DrawListViewColumnHeaderEventArgs.cs
- DSASignatureFormatter.cs
- QuotedPrintableStream.cs
- RangeValidator.cs
- RectAnimationClockResource.cs
- ThreadStartException.cs
- WorkflowTransactionService.cs
- WebBrowserNavigatingEventHandler.cs
- IntranetCredentialPolicy.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ChtmlMobileTextWriter.cs
- AtomMaterializerLog.cs
- FlagsAttribute.cs
- DelayLoadType.cs
- SecurityKeyIdentifier.cs
- HotSpot.cs
- elementinformation.cs
- ComboBoxDesigner.cs
- SqlDataRecord.cs
- XmlSchemaObjectTable.cs
- ArithmeticException.cs
- AppearanceEditorPart.cs
- DiffuseMaterial.cs
- EntityChangedParams.cs
- KnownIds.cs
- CompiledQueryCacheEntry.cs
- HtmlInputCheckBox.cs
- ImageClickEventArgs.cs
- basecomparevalidator.cs
- followingquery.cs
- ObjectPersistData.cs
- XmlNodeList.cs
- SQLSingle.cs
- SpanIndex.cs
- PhysicalAddress.cs
- VersionValidator.cs
- EmptyEnumerator.cs
- LicenseException.cs