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
- UnauthorizedWebPart.cs
- ScrollViewerAutomationPeer.cs
- Inflater.cs
- DbResourceAllocator.cs
- ScriptReference.cs
- SafeRegistryHandle.cs
- AttachInfo.cs
- DataSysAttribute.cs
- InstallerTypeAttribute.cs
- FileDetails.cs
- ToolStripSettings.cs
- XmlSchemaObjectTable.cs
- FlowSwitchDesigner.xaml.cs
- DisplayInformation.cs
- NameValueSectionHandler.cs
- selecteditemcollection.cs
- FunctionDetailsReader.cs
- SetterBase.cs
- XmlSchemaType.cs
- DataColumnPropertyDescriptor.cs
- BrowserTree.cs
- BoolExpressionVisitors.cs
- PerfCounters.cs
- QueueProcessor.cs
- MarshalByValueComponent.cs
- LinkedResourceCollection.cs
- LinearQuaternionKeyFrame.cs
- InternalEnumValidator.cs
- ToolboxBitmapAttribute.cs
- Animatable.cs
- QilList.cs
- WindowsListViewScroll.cs
- AccessorTable.cs
- BitmapCodecInfoInternal.cs
- _DigestClient.cs
- ISAPIApplicationHost.cs
- TypeGeneratedEventArgs.cs
- SchemaTableOptionalColumn.cs
- WindowsAuthenticationModule.cs
- TextServicesDisplayAttribute.cs
- RuleSettings.cs
- WindowsFormsLinkLabel.cs
- SoapFaultCodes.cs
- TreeViewCancelEvent.cs
- StringAnimationUsingKeyFrames.cs
- ClientTargetCollection.cs
- DesignerSerializationOptionsAttribute.cs
- TemplatedWizardStep.cs
- BoundPropertyEntry.cs
- ObjectQuery_EntitySqlExtensions.cs
- HTTPNotFoundHandler.cs
- WebPartCatalogAddVerb.cs
- RawStylusInputCustomData.cs
- SapiGrammar.cs
- X509SecurityTokenParameters.cs
- MatrixKeyFrameCollection.cs
- PrintSchema.cs
- LinkButton.cs
- AnimationTimeline.cs
- WaitHandle.cs
- DbReferenceCollection.cs
- WindowsMenu.cs
- TypeReference.cs
- ConfigXmlText.cs
- GeneralTransform3DCollection.cs
- CellParagraph.cs
- PolicyManager.cs
- BooleanExpr.cs
- List.cs
- XmlILTrace.cs
- DBProviderConfigurationHandler.cs
- AppDomainProtocolHandler.cs
- TreeNodeStyleCollection.cs
- WriteLine.cs
- __FastResourceComparer.cs
- BCLDebug.cs
- ToolBarButtonClickEvent.cs
- SymDocumentType.cs
- GridToolTip.cs
- StringBuilder.cs
- HttpCachePolicyWrapper.cs
- ImageDrawing.cs
- XmlDictionaryWriter.cs
- Panel.cs
- NameTable.cs
- DbgCompiler.cs
- WinFormsSecurity.cs
- HtmlValidatorAdapter.cs
- TransformerInfoCollection.cs
- DataError.cs
- QilNode.cs
- Pen.cs
- SoapDocumentServiceAttribute.cs
- ScriptingRoleServiceSection.cs
- LoginCancelEventArgs.cs
- AddingNewEventArgs.cs
- SafeCertificateStore.cs
- LiteralControl.cs
- PolicyException.cs
- IIS7UserPrincipal.cs