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
- LoginView.cs
- WindowsSpinner.cs
- EntitySqlQueryState.cs
- XmlChildNodes.cs
- GridEntry.cs
- SizeIndependentAnimationStorage.cs
- EdmMember.cs
- SqlDependency.cs
- BasicBrowserDialog.designer.cs
- TemplatePropertyEntry.cs
- NumericExpr.cs
- DataGridColumnCollection.cs
- Util.cs
- EntryWrittenEventArgs.cs
- cryptoapiTransform.cs
- loginstatus.cs
- RulePatternOps.cs
- ThreadAttributes.cs
- COM2PropertyDescriptor.cs
- IndexedString.cs
- RuntimeResourceSet.cs
- SAPICategories.cs
- ProcessModelInfo.cs
- GetChildSubtree.cs
- StringPropertyBuilder.cs
- WindowsBrush.cs
- TableItemPatternIdentifiers.cs
- FocusWithinProperty.cs
- Clause.cs
- ObjectStorage.cs
- MenuItem.cs
- QilGeneratorEnv.cs
- DockPatternIdentifiers.cs
- DatatypeImplementation.cs
- SqlDataSourceCommandEventArgs.cs
- XsdDuration.cs
- SafeCoTaskMem.cs
- EntityViewGenerator.cs
- SafeFindHandle.cs
- Help.cs
- QuaternionRotation3D.cs
- XsdBuildProvider.cs
- SqlConnectionHelper.cs
- Attributes.cs
- ThreadLocal.cs
- ListCollectionView.cs
- SchemaImporterExtension.cs
- HostProtectionPermission.cs
- MemberExpression.cs
- AutoCompleteStringCollection.cs
- DocumentViewerHelper.cs
- ExceptionUtil.cs
- PropertyDescriptorCollection.cs
- BindingObserver.cs
- XmlDocumentType.cs
- CodeTypeMemberCollection.cs
- BitmapDecoder.cs
- GPRECTF.cs
- ObjectListDataBindEventArgs.cs
- XmlCharacterData.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ChildrenQuery.cs
- DataError.cs
- UnicastIPAddressInformationCollection.cs
- SafeRightsManagementHandle.cs
- Part.cs
- DesignerActionVerbItem.cs
- RowToFieldTransformer.cs
- Header.cs
- CollectionConverter.cs
- WebServiceClientProxyGenerator.cs
- BaseValidatorDesigner.cs
- MenuItemStyle.cs
- SpellerInterop.cs
- OutputCacheSettingsSection.cs
- ResourcePart.cs
- XMLSyntaxException.cs
- IntSumAggregationOperator.cs
- MulticastIPAddressInformationCollection.cs
- ConsumerConnectionPoint.cs
- GeneralTransform2DTo3D.cs
- Decoder.cs
- PrivilegeNotHeldException.cs
- DataBindingHandlerAttribute.cs
- BCryptNative.cs
- ServiceModelTimeSpanValidator.cs
- HorizontalAlignConverter.cs
- WebSysDefaultValueAttribute.cs
- WebMessageEncoderFactory.cs
- StylusPointProperties.cs
- Documentation.cs
- HttpCacheVaryByContentEncodings.cs
- Attributes.cs
- TypeLoadException.cs
- ImageEditor.cs
- WindowsTitleBar.cs
- BulletDecorator.cs
- GeneralEndpointIdentity.cs
- CookieParameter.cs
- GenericsNotImplementedException.cs