Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / AdornerHitTestResult.cs / 1305600 / 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: http://avalon/uis/Specs/AdornerLayer%20Spec.htm // // History: // 2/16/2004 psarrett: 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
- CRYPTPROTECT_PROMPTSTRUCT.cs
- MaskInputRejectedEventArgs.cs
- baseaxisquery.cs
- _HTTPDateParse.cs
- CompileXomlTask.cs
- FrameDimension.cs
- basevalidator.cs
- NotifyIcon.cs
- GridEntryCollection.cs
- ScriptingRoleServiceSection.cs
- GuidelineSet.cs
- XmlElementAttribute.cs
- AdapterSwitches.cs
- ToolboxCategory.cs
- lengthconverter.cs
- PickBranchDesigner.xaml.cs
- FormViewInsertedEventArgs.cs
- FileSecurity.cs
- UniformGrid.cs
- BaseTransportHeaders.cs
- XmlSchemaValidationException.cs
- InstanceKeyCollisionException.cs
- Wow64ConfigurationLoader.cs
- LocalizableAttribute.cs
- _TransmitFileOverlappedAsyncResult.cs
- SessionStateSection.cs
- GPRECT.cs
- XmlSortKeyAccumulator.cs
- HttpRuntime.cs
- RijndaelManagedTransform.cs
- Content.cs
- AjaxFrameworkAssemblyAttribute.cs
- XPathMessageFilterElementComparer.cs
- SecurityElement.cs
- CodeVariableReferenceExpression.cs
- EventLogPermission.cs
- Point3DAnimationBase.cs
- LinqDataSourceDeleteEventArgs.cs
- SmiEventSink_Default.cs
- JournalNavigationScope.cs
- WindowsRegion.cs
- DataGridViewRowCollection.cs
- InternalConfigEventArgs.cs
- DateTimeConverter2.cs
- ServiceBuildProvider.cs
- ServerProtocol.cs
- InternalEnumValidator.cs
- XmlUtil.cs
- BitmapEffectRenderDataResource.cs
- TextEndOfParagraph.cs
- HwndMouseInputProvider.cs
- ConsumerConnectionPoint.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TrackPointCollection.cs
- FixUp.cs
- TextFormatterContext.cs
- CodeSnippetExpression.cs
- HyperLink.cs
- RegexStringValidatorAttribute.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ListItemCollection.cs
- PageVisual.cs
- ObjectManager.cs
- SelectorItemAutomationPeer.cs
- Descriptor.cs
- DataPagerField.cs
- SqlRowUpdatingEvent.cs
- ListItemDetailViewAttribute.cs
- WizardPanel.cs
- SafeEventHandle.cs
- FilterableAttribute.cs
- CodeSnippetStatement.cs
- FixedSOMSemanticBox.cs
- ToolStripSplitStackLayout.cs
- SqlBuilder.cs
- DurableInstancingOptions.cs
- RequestDescription.cs
- RelationshipManager.cs
- Brush.cs
- ListManagerBindingsCollection.cs
- MembershipSection.cs
- DataSourceHelper.cs
- WorkflowDesignerMessageFilter.cs
- RuntimeVariablesExpression.cs
- ArrayEditor.cs
- ObjectListShowCommandsEventArgs.cs
- Graphics.cs
- Glyph.cs
- BaseTemplatedMobileComponentEditor.cs
- ProgressiveCrcCalculatingStream.cs
- RC2.cs
- Operator.cs
- SelectionRangeConverter.cs
- ReliabilityContractAttribute.cs
- TextCharacters.cs
- DefaultProxySection.cs
- TimelineCollection.cs
- NamedPipeProcessProtocolHandler.cs
- QueryResponse.cs
- CharacterShapingProperties.cs