Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- CancellationScope.cs
- SerTrace.cs
- GroupByQueryOperator.cs
- PhoneCall.cs
- DebuggerService.cs
- WebConfigurationHostFileChange.cs
- DbConnectionPoolOptions.cs
- XmlBinaryReader.cs
- WindowsGraphicsWrapper.cs
- GridViewCellAutomationPeer.cs
- DrawingGroupDrawingContext.cs
- OperatingSystem.cs
- WorkflowTransactionOptions.cs
- RepeaterItemCollection.cs
- CompositeDesignerAccessibleObject.cs
- SingleAnimation.cs
- SolidColorBrush.cs
- Char.cs
- _RequestCacheProtocol.cs
- BufferBuilder.cs
- ReferenceConverter.cs
- X509UI.cs
- TextEditorCopyPaste.cs
- NullableDoubleMinMaxAggregationOperator.cs
- BindingCollection.cs
- ScriptControlManager.cs
- AppDomainFactory.cs
- ArithmeticLiteral.cs
- HttpProfileGroupBase.cs
- DataBoundControlAdapter.cs
- MLangCodePageEncoding.cs
- QueryCacheKey.cs
- IPHostEntry.cs
- SmtpAuthenticationManager.cs
- PriorityQueue.cs
- ScopelessEnumAttribute.cs
- TriState.cs
- TransformerInfo.cs
- BaseInfoTable.cs
- ObjectStateFormatter.cs
- BaseParser.cs
- PageContent.cs
- RemoteHelper.cs
- Style.cs
- GraphicsPathIterator.cs
- DefaultBinder.cs
- GroupItem.cs
- ThousandthOfEmRealDoubles.cs
- AutomationAttributeInfo.cs
- ClientSideQueueItem.cs
- GeneralTransform3D.cs
- HijriCalendar.cs
- CellTreeNodeVisitors.cs
- oledbmetadatacolumnnames.cs
- HMACRIPEMD160.cs
- Emitter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- HttpStreamMessageEncoderFactory.cs
- BamlMapTable.cs
- BaseTemplateBuildProvider.cs
- CanonicalXml.cs
- TextEmbeddedObject.cs
- BufferModesCollection.cs
- ConnectionManagementElementCollection.cs
- BitmapEffectState.cs
- ReadWriteControlDesigner.cs
- Lease.cs
- ConfigurationManagerHelperFactory.cs
- WindowsIdentity.cs
- TextSelectionProcessor.cs
- Range.cs
- AsymmetricSignatureFormatter.cs
- WebPartMenu.cs
- sortedlist.cs
- TabControlAutomationPeer.cs
- ControlOperationBehavior.cs
- Lasso.cs
- PathData.cs
- TextSegment.cs
- ActivityTrace.cs
- ImageList.cs
- SqlBulkCopy.cs
- SubtreeProcessor.cs
- RequestDescription.cs
- XmlSchemaDocumentation.cs
- FileReservationCollection.cs
- CatalogZoneBase.cs
- CloseCryptoHandleRequest.cs
- UnSafeCharBuffer.cs
- ConnectionManagementElementCollection.cs
- ThreadAbortException.cs
- ImageAnimator.cs
- ConfigurationProperty.cs
- BaseParaClient.cs
- UTF32Encoding.cs
- AsyncCodeActivity.cs
- HierarchicalDataSourceControl.cs
- LicenseManager.cs
- SafeEventLogWriteHandle.cs
- TypeSystemProvider.cs