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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SynchronousSendBindingElement.cs
- EntityRecordInfo.cs
- WebPartCatalogAddVerb.cs
- XmlSchemaAppInfo.cs
- tibetanshape.cs
- StrokeNode.cs
- ImageAutomationPeer.cs
- ActivityBindForm.cs
- xsdvalidator.cs
- NumberAction.cs
- HttpModuleAction.cs
- PropertyValidationContext.cs
- TextRangeEdit.cs
- XpsColorContext.cs
- WinOEToolBoxItem.cs
- ExistsInCollection.cs
- DecoderExceptionFallback.cs
- IdentityNotMappedException.cs
- Attributes.cs
- SettingsPropertyNotFoundException.cs
- HostingEnvironmentSection.cs
- CheckBoxFlatAdapter.cs
- ArgumentOutOfRangeException.cs
- TextOptions.cs
- SharedPerformanceCounter.cs
- DataBindEngine.cs
- SHA256.cs
- TextTreeFixupNode.cs
- SimplePropertyEntry.cs
- DynamicRouteExpression.cs
- ListViewUpdateEventArgs.cs
- ConstraintManager.cs
- _HelperAsyncResults.cs
- DetailsViewRow.cs
- SystemException.cs
- ActiveDocumentEvent.cs
- HitTestDrawingContextWalker.cs
- SpAudioStreamWrapper.cs
- RemoveStoryboard.cs
- ControlPaint.cs
- VariableExpressionConverter.cs
- LayoutTableCell.cs
- TimeoutValidationAttribute.cs
- GestureRecognitionResult.cs
- SortAction.cs
- CanExecuteRoutedEventArgs.cs
- CultureTableRecord.cs
- RawStylusInput.cs
- ThemeDictionaryExtension.cs
- ReflectionTypeLoadException.cs
- VisualStyleRenderer.cs
- ParserOptions.cs
- HttpValueCollection.cs
- LocationReference.cs
- XmlSubtreeReader.cs
- TableCellsCollectionEditor.cs
- NestedContainer.cs
- cookiecontainer.cs
- RoleService.cs
- InputReportEventArgs.cs
- StsCommunicationException.cs
- XmlSchemas.cs
- CheckedPointers.cs
- RegexMatch.cs
- UrlPropertyAttribute.cs
- Logging.cs
- JsonSerializer.cs
- BitmapCodecInfo.cs
- Region.cs
- TextServicesContext.cs
- SpellCheck.cs
- XmlExceptionHelper.cs
- LockRenewalTask.cs
- HttpWebResponse.cs
- AutomationTextAttribute.cs
- DeferrableContent.cs
- XmlQueryType.cs
- HttpModulesInstallComponent.cs
- SchemaElement.cs
- OleDbStruct.cs
- WebControl.cs
- Int16Converter.cs
- AdornerPresentationContext.cs
- EdmMember.cs
- HttpCapabilitiesSectionHandler.cs
- AppLevelCompilationSectionCache.cs
- XNodeSchemaApplier.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- SqlTrackingQuery.cs
- WindowsListViewScroll.cs
- Rotation3DKeyFrameCollection.cs
- PropertyItemInternal.cs
- TemplatingOptionsDialog.cs
- SQLBinaryStorage.cs
- Stack.cs
- CompensatableSequenceActivity.cs
- KeyEvent.cs
- PostBackTrigger.cs
- ModelItem.cs
- CodeExporter.cs