Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / AdornerHitTestResult.cs / 1 / AdornerHitTestResult.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: // AdornerHitTestResult class, used to return the result from // a call to AdornerLayer.AdornerHitTest(). // See spec at: [....]/uis/Specs/AdornerLayer%20Spec.htm // // History: // 2/16/2004 [....]: Created // //--------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Threading; using System.Collections; using MS.Internal; using System.Windows.Documents; namespace System.Windows.Media { ////// Data provided as a result of calling AdornerLayer.AdornerHitTest(). /// In addition to the visual and point information provided by the base /// class PointHitTestResult, also returns the Adorner that was hit (since /// there may be multiple Visuals in a single Adorner). /// public class AdornerHitTestResult : PointHitTestResult { private readonly Adorner _adorner; ////// Constructor /// /// Visual that was hit /// Point that was hit, in visual's coordinate space /// Adorner that was hit internal AdornerHitTestResult(Visual visual, Point pt, Adorner adorner) : base(visual, pt) { _adorner = adorner; } ////// Returns the visual that was hit. /// public Adorner Adorner { get { return _adorner; } } } } // 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
- Signature.cs
- TransactionState.cs
- ListBase.cs
- SourceElementsCollection.cs
- ObfuscateAssemblyAttribute.cs
- SQLStringStorage.cs
- TearOffProxy.cs
- SynchronizationContext.cs
- IISMapPath.cs
- RsaKeyGen.cs
- TextInfo.cs
- EndGetFileNameFromUserRequest.cs
- SimplePropertyEntry.cs
- DataGridViewLinkCell.cs
- SQLChars.cs
- TextSelection.cs
- HtmlInputRadioButton.cs
- DataGridViewCellCancelEventArgs.cs
- ReverseQueryOperator.cs
- SelectionService.cs
- PolyLineSegment.cs
- DataTablePropertyDescriptor.cs
- HttpProfileGroupBase.cs
- OrderedDictionaryStateHelper.cs
- TraceRecords.cs
- ListItemCollection.cs
- SvcMapFile.cs
- DataServiceContext.cs
- FlowDocumentPage.cs
- Int16.cs
- FormViewUpdatedEventArgs.cs
- ObjectDesignerDataSourceView.cs
- LocalizationParserHooks.cs
- SrgsGrammar.cs
- DurableRuntimeValidator.cs
- HttpHeaderCollection.cs
- UrlMappingsSection.cs
- CalendarSelectionChangedEventArgs.cs
- SqlTriggerAttribute.cs
- ThumbButtonInfo.cs
- ActionFrame.cs
- DoubleStorage.cs
- PerformanceCounter.cs
- RunWorkerCompletedEventArgs.cs
- DataGridViewTextBoxColumn.cs
- AnnotationResourceChangedEventArgs.cs
- DbReferenceCollection.cs
- WebResourceUtil.cs
- XComponentModel.cs
- ObjectManager.cs
- ToolStripItemClickedEventArgs.cs
- LightweightCodeGenerator.cs
- FileIOPermission.cs
- TableLayoutCellPaintEventArgs.cs
- EntityKeyElement.cs
- Attachment.cs
- InputLangChangeEvent.cs
- PointAnimationUsingPath.cs
- Token.cs
- IndexedString.cs
- DataColumnPropertyDescriptor.cs
- TextFormatterHost.cs
- ELinqQueryState.cs
- XmlSchemaAny.cs
- TextServicesCompartmentContext.cs
- MainMenu.cs
- CombinedGeometry.cs
- SymbolType.cs
- LazyTextWriterCreator.cs
- EnumerableRowCollection.cs
- SiteMapProvider.cs
- CssStyleCollection.cs
- ContentOperations.cs
- TPLETWProvider.cs
- CellTreeNodeVisitors.cs
- ListSortDescriptionCollection.cs
- EncodingTable.cs
- BitStream.cs
- OleCmdHelper.cs
- MemberRelationshipService.cs
- CollectionViewGroupRoot.cs
- TextParagraphProperties.cs
- InternalReceiveMessage.cs
- GlyphRun.cs
- ProfileModule.cs
- OdbcDataReader.cs
- CompareInfo.cs
- ButtonFieldBase.cs
- MILUtilities.cs
- DiscriminatorMap.cs
- AllowedAudienceUriElementCollection.cs
- FileNotFoundException.cs
- OdbcEnvironment.cs
- EndpointReference.cs
- SocketInformation.cs
- SecurityTokenProvider.cs
- Events.cs
- ModuleConfigurationInfo.cs
- DesignSurfaceCollection.cs
- UnauthorizedWebPart.cs