Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / PointHitTestResult.cs / 1305600 / 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
- SerializableAttribute.cs
- DataObjectMethodAttribute.cs
- BitStack.cs
- AbstractExpressions.cs
- TextSerializer.cs
- MessageQueueConverter.cs
- RootProfilePropertySettingsCollection.cs
- GZipUtils.cs
- ProtectedConfiguration.cs
- DefaultValueTypeConverter.cs
- WeakReference.cs
- HealthMonitoringSectionHelper.cs
- GenerateTemporaryTargetAssembly.cs
- CompensationHandlingFilter.cs
- Expr.cs
- ClearCollection.cs
- mediapermission.cs
- DateTimeOffsetAdapter.cs
- TimeIntervalCollection.cs
- StatusBarPanel.cs
- _NestedSingleAsyncResult.cs
- StringWriter.cs
- TcpPortSharing.cs
- XslVisitor.cs
- WindowsListView.cs
- TitleStyle.cs
- OdbcDataAdapter.cs
- PolicyException.cs
- WebPartConnection.cs
- ColorDialog.cs
- DataTableCollection.cs
- URLIdentityPermission.cs
- ExpressionEditorAttribute.cs
- ContextBase.cs
- GridViewSelectEventArgs.cs
- IssuedTokenServiceCredential.cs
- Int64Converter.cs
- TreeNodeBindingDepthConverter.cs
- StoreItemCollection.Loader.cs
- ConfigurationProperty.cs
- Light.cs
- rsa.cs
- InputReport.cs
- _AutoWebProxyScriptEngine.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- BindingCollectionElement.cs
- XslException.cs
- XPathNode.cs
- AuthStoreRoleProvider.cs
- HttpClientProtocol.cs
- JsonEncodingStreamWrapper.cs
- PackageRelationshipSelector.cs
- TargetControlTypeAttribute.cs
- MulticastIPAddressInformationCollection.cs
- PerfProviderCollection.cs
- DateRangeEvent.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- SafeRightsManagementPubHandle.cs
- StatusBar.cs
- WebServiceTypeData.cs
- Int64Storage.cs
- ResXResourceSet.cs
- FreezableDefaultValueFactory.cs
- ClientSideQueueItem.cs
- EnvelopedPkcs7.cs
- HashStream.cs
- ForEachAction.cs
- GlyphRunDrawing.cs
- GlobalizationAssembly.cs
- TerminatorSinks.cs
- SafeBitVector32.cs
- XamlDesignerSerializationManager.cs
- BezierSegment.cs
- BindingContext.cs
- CodeTypeConstructor.cs
- ByteStreamGeometryContext.cs
- HandlerFactoryWrapper.cs
- EmptyQuery.cs
- ProcessMessagesAsyncResult.cs
- CompositeCollectionView.cs
- PeerObject.cs
- ComponentEditorForm.cs
- IndentTextWriter.cs
- securitymgrsite.cs
- VariableBinder.cs
- AppDomainProtocolHandler.cs
- DataGridRowHeader.cs
- PixelShader.cs
- ToolStripItem.cs
- CustomAttributeBuilder.cs
- BufferModesCollection.cs
- XPathNavigatorReader.cs
- DataGridParentRows.cs
- ThemeableAttribute.cs
- TableHeaderCell.cs
- ImageAnimator.cs
- DurableEnlistmentState.cs
- CodeMemberProperty.cs
- PngBitmapDecoder.cs
- SafeArrayRankMismatchException.cs