Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / PointHitTestResult.cs / 1 / PointHitTestResult.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: PointHitTestResult //----------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using MS.Internal; namespace System.Windows.Media { ////// This class returns the point and visual hit during a hit test pass. /// public class PointHitTestResult : HitTestResult { private Point _pointHit; ////// This constructor takes a visual and point respresenting a hit. /// public PointHitTestResult(Visual visualHit, Point pointHit) : base(visualHit) { _pointHit = pointHit; } ////// The point in local space of the hit visual. /// public Point PointHit { get { return _pointHit; } } ////// Re-expose Visual property strongly typed to 2D Visual. /// public new Visual VisualHit { get { return (Visual) base.VisualHit; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: PointHitTestResult //----------------------------------------------------------------------------- using System; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using MS.Internal; namespace System.Windows.Media { ////// This class returns the point and visual hit during a hit test pass. /// public class PointHitTestResult : HitTestResult { private Point _pointHit; ////// This constructor takes a visual and point respresenting a hit. /// public PointHitTestResult(Visual visualHit, Point pointHit) : base(visualHit) { _pointHit = pointHit; } ////// The point in local space of the hit visual. /// public Point PointHit { get { return _pointHit; } } ////// Re-expose Visual property strongly typed to 2D Visual. /// public new Visual VisualHit { get { return (Visual) base.VisualHit; } } } } // 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
- CqlParser.cs
- TableRowsCollectionEditor.cs
- IPGlobalProperties.cs
- TextEvent.cs
- tooltip.cs
- PropVariant.cs
- TrackingServices.cs
- XmlAnyElementAttributes.cs
- XmlUnspecifiedAttribute.cs
- XPathNavigator.cs
- DeclarativeCatalogPartDesigner.cs
- XmlSchemaParticle.cs
- BuilderElements.cs
- SafeNativeMethodsOther.cs
- GroupQuery.cs
- EllipseGeometry.cs
- LogEntrySerializer.cs
- Delegate.cs
- Error.cs
- nulltextnavigator.cs
- ViewGenerator.cs
- EDesignUtil.cs
- TaskDesigner.cs
- TargetException.cs
- XmlNullResolver.cs
- SmiTypedGetterSetter.cs
- PassportAuthenticationModule.cs
- PublisherIdentityPermission.cs
- XhtmlBasicImageAdapter.cs
- UxThemeWrapper.cs
- ClaimTypeElementCollection.cs
- HtmlHistory.cs
- DocumentApplication.cs
- UriSchemeKeyedCollection.cs
- Highlights.cs
- CellCreator.cs
- SkewTransform.cs
- OutputCacheModule.cs
- remotingproxy.cs
- TokenizerHelper.cs
- EncodingTable.cs
- LinkLabelLinkClickedEvent.cs
- ContainerParaClient.cs
- WebEventTraceProvider.cs
- WebServiceReceive.cs
- XLinq.cs
- XmlNamespaceDeclarationsAttribute.cs
- ControlAdapter.cs
- HtmlInputControl.cs
- VersionConverter.cs
- ManagementClass.cs
- XpsS0ValidatingLoader.cs
- WebPartChrome.cs
- RadioButtonRenderer.cs
- GlyphShapingProperties.cs
- ThemeableAttribute.cs
- MultipleCopiesCollection.cs
- ImageInfo.cs
- WebPart.cs
- SettingsProperty.cs
- WebPartsSection.cs
- SecurityResources.cs
- FieldToken.cs
- QilExpression.cs
- ServicePoint.cs
- SourceFileBuildProvider.cs
- ManifestResourceInfo.cs
- DataGridView.cs
- DataGridItemAttachedStorage.cs
- XmlEncodedRawTextWriter.cs
- TransformedBitmap.cs
- ProvidePropertyAttribute.cs
- ImageBrush.cs
- DependencyObjectProvider.cs
- Helpers.cs
- MediaSystem.cs
- CodeNamespaceImportCollection.cs
- DataGridViewDataConnection.cs
- DataBoundLiteralControl.cs
- RepeaterItem.cs
- BufferModesCollection.cs
- DoubleLinkList.cs
- BamlTreeNode.cs
- dataSvcMapFileLoader.cs
- PointHitTestResult.cs
- SqlProvider.cs
- CharEntityEncoderFallback.cs
- PermissionAttributes.cs
- XPathNodeList.cs
- CodeChecksumPragma.cs
- DefaultObjectMappingItemCollection.cs
- RuntimeComponentFilter.cs
- PointAnimation.cs
- ToolStripDropDownItem.cs
- ScrollBar.cs
- SafeHandles.cs
- SpeechAudioFormatInfo.cs
- ShaperBuffers.cs
- ComponentConverter.cs
- Evidence.cs