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
- BindingEditor.xaml.cs
- VirtualPath.cs
- CompositeDataBoundControl.cs
- ErrorStyle.cs
- ContainerUtilities.cs
- CodeAttributeArgument.cs
- ObjectStorage.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- XslCompiledTransform.cs
- ControlBindingsCollection.cs
- AuthorizationSection.cs
- SqlInfoMessageEvent.cs
- ColorConverter.cs
- PropertyTabAttribute.cs
- XmlSchemaComplexContent.cs
- DataListItemEventArgs.cs
- TemplateInstanceAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TouchesCapturedWithinProperty.cs
- Int16Storage.cs
- GlyphElement.cs
- ResourceExpressionBuilder.cs
- XPathDocument.cs
- CompilerTypeWithParams.cs
- HttpListenerPrefixCollection.cs
- ObjectIDGenerator.cs
- PasswordPropertyTextAttribute.cs
- ReferenceConverter.cs
- CustomBindingElement.cs
- PropertyGeneratedEventArgs.cs
- BaseCAMarshaler.cs
- SqlDataRecord.cs
- WindowsRichEditRange.cs
- DbDataReader.cs
- ContentIterators.cs
- TransportOutputChannel.cs
- ColumnBinding.cs
- TableAdapterManagerHelper.cs
- MaterializeFromAtom.cs
- MouseGestureConverter.cs
- PageAsyncTask.cs
- HintTextConverter.cs
- LinkedResource.cs
- CompilationPass2Task.cs
- Module.cs
- NativeMethodsCLR.cs
- ExceptionHandlersDesigner.cs
- OleDbDataReader.cs
- GroupQuery.cs
- CqlQuery.cs
- DefaultTextStoreTextComposition.cs
- ReturnType.cs
- IDQuery.cs
- followingquery.cs
- DefaultBinder.cs
- ScriptingJsonSerializationSection.cs
- ScriptingSectionGroup.cs
- CompiledQuery.cs
- ProfileSettingsCollection.cs
- SqlCommandSet.cs
- FixUp.cs
- CanonicalizationDriver.cs
- DefaultValidator.cs
- MetadataStore.cs
- ContentFilePart.cs
- CollectionViewGroup.cs
- safex509handles.cs
- LinkedResourceCollection.cs
- CellPartitioner.cs
- HttpListenerRequest.cs
- WebPartDisplayMode.cs
- NullExtension.cs
- XamlGridLengthSerializer.cs
- BaseDataBoundControl.cs
- SchemaElement.cs
- ToolStrip.cs
- SendOperation.cs
- RowSpanVector.cs
- RootAction.cs
- Rect3DConverter.cs
- CompositeDuplexBindingElement.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- WindowsClaimSet.cs
- LinqDataSourceStatusEventArgs.cs
- Pen.cs
- DataSourceControl.cs
- QuestionEventArgs.cs
- WindowProviderWrapper.cs
- PinnedBufferMemoryStream.cs
- HuffmanTree.cs
- HostProtectionPermission.cs
- TraceListeners.cs
- LoginUtil.cs
- HttpPostClientProtocol.cs
- ContextStaticAttribute.cs
- Membership.cs
- SortQueryOperator.cs
- RuntimeConfigurationRecord.cs
- WorkflowElementDialog.cs
- BitmapEffectRenderDataResource.cs