Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / GeometryHitTestResult.cs / 1 / GeometryHitTestResult.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: GeometryHitTestResult //----------------------------------------------------------------------------- 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 GeometryHitTestResult : HitTestResult { private IntersectionDetail _intersectionDetail; ////// This constructor takes a visual and point respresenting a hit. /// public GeometryHitTestResult( Visual visualHit, IntersectionDetail intersectionDetail) : base(visualHit) { _intersectionDetail = intersectionDetail; } ////// The intersection detail with how geometry intersected with scene. /// public IntersectionDetail IntersectionDetail { get { return _intersectionDetail; } } ////// 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: GeometryHitTestResult //----------------------------------------------------------------------------- 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 GeometryHitTestResult : HitTestResult { private IntersectionDetail _intersectionDetail; ////// This constructor takes a visual and point respresenting a hit. /// public GeometryHitTestResult( Visual visualHit, IntersectionDetail intersectionDetail) : base(visualHit) { _intersectionDetail = intersectionDetail; } ////// The intersection detail with how geometry intersected with scene. /// public IntersectionDetail IntersectionDetail { get { return _intersectionDetail; } } ////// 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
- PLINQETWProvider.cs
- SnapLine.cs
- ITextView.cs
- ZoneMembershipCondition.cs
- CompilerError.cs
- CounterCreationData.cs
- ResourcesBuildProvider.cs
- PointAnimationClockResource.cs
- _TransmitFileOverlappedAsyncResult.cs
- NativeStructs.cs
- DateBoldEvent.cs
- TimelineGroup.cs
- LoadItemsEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- Merger.cs
- TextTreeNode.cs
- _RequestLifetimeSetter.cs
- CompletionCallbackWrapper.cs
- COM2Enum.cs
- EmptyCollection.cs
- DragEvent.cs
- SQlBooleanStorage.cs
- BaseTransportHeaders.cs
- GeometryDrawing.cs
- DayRenderEvent.cs
- InfoCardProofToken.cs
- AsyncStreamReader.cs
- TextStore.cs
- RootBrowserWindow.cs
- InternalCache.cs
- SecurityCriticalDataForSet.cs
- MobileTextWriter.cs
- TreeViewImageIndexConverter.cs
- GreaterThanOrEqual.cs
- CapabilitiesRule.cs
- DataGridViewCellEventArgs.cs
- SafeCryptContextHandle.cs
- DecoderFallback.cs
- EntityParameter.cs
- TreeView.cs
- LogicalExpr.cs
- MenuItem.cs
- FileDetails.cs
- TextBoxDesigner.cs
- ObjectDataSourceDesigner.cs
- MemberJoinTreeNode.cs
- JapaneseCalendar.cs
- TrackBarDesigner.cs
- InsufficientMemoryException.cs
- SqlTypesSchemaImporter.cs
- DataReceivedEventArgs.cs
- HashSetEqualityComparer.cs
- BinHexEncoder.cs
- HandlerBase.cs
- CFStream.cs
- Italic.cs
- ByteKeyFrameCollection.cs
- SoapAttributeAttribute.cs
- Pens.cs
- Animatable.cs
- _TimerThread.cs
- PageSetupDialog.cs
- GradientStopCollection.cs
- WindowHideOrCloseTracker.cs
- WebRequestModuleElementCollection.cs
- FixedSOMPageElement.cs
- PTManager.cs
- HwndMouseInputProvider.cs
- SecurityTokenTypes.cs
- AffineTransform3D.cs
- MergeLocalizationDirectives.cs
- GlyphCollection.cs
- MaskedTextProvider.cs
- MemberHolder.cs
- DebugInfo.cs
- TextModifierScope.cs
- HandleRef.cs
- DataReaderContainer.cs
- ResourceReader.cs
- MessageQueue.cs
- GlyphCache.cs
- StorageMappingItemLoader.cs
- WebEventCodes.cs
- InfoCardSymmetricCrypto.cs
- AuthenticationException.cs
- OutputWindow.cs
- WMIGenerator.cs
- Point3DAnimationUsingKeyFrames.cs
- CmsUtils.cs
- FileSystemInfo.cs
- Rijndael.cs
- CapiSymmetricAlgorithm.cs
- RedBlackList.cs
- MasterPage.cs
- WebResourceAttribute.cs
- ResourceProviderFactory.cs
- CssClassPropertyAttribute.cs
- PointCollectionConverter.cs
- OutputCacheProfileCollection.cs
- XamlInt32CollectionSerializer.cs