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
- ProviderSettings.cs
- ImportFileRequest.cs
- keycontainerpermission.cs
- AddInAdapter.cs
- ObjectListItem.cs
- Help.cs
- HttpCookieCollection.cs
- ArgumentException.cs
- WorkflowInstance.cs
- WhitespaceRuleLookup.cs
- OleStrCAMarshaler.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ClientOptions.cs
- ResizeGrip.cs
- PropertySourceInfo.cs
- ClientApiGenerator.cs
- XmlAttributeCache.cs
- SiteMapProvider.cs
- QueuedDeliveryRequirementsMode.cs
- CharEnumerator.cs
- FileCodeGroup.cs
- WebEventCodes.cs
- AppDomainResourcePerfCounters.cs
- Html32TextWriter.cs
- DbProviderFactory.cs
- Vector3DConverter.cs
- SamlAdvice.cs
- DisposableCollectionWrapper.cs
- VolatileEnlistmentMultiplexing.cs
- Attributes.cs
- EntryPointNotFoundException.cs
- NoClickablePointException.cs
- ProcessInfo.cs
- TypeLibConverter.cs
- DesignerActionVerbItem.cs
- RotateTransform.cs
- AutomationIdentifier.cs
- RijndaelManaged.cs
- GeneralTransformCollection.cs
- DurableOperationContext.cs
- XappLauncher.cs
- SerializationInfoEnumerator.cs
- ToolStripItemCollection.cs
- TypeHelpers.cs
- PasswordBoxAutomationPeer.cs
- FormsAuthenticationModule.cs
- RefType.cs
- BStrWrapper.cs
- FolderBrowserDialogDesigner.cs
- CodeSnippetExpression.cs
- DataRecordInternal.cs
- HotSpot.cs
- ProcessProtocolHandler.cs
- SelectionRange.cs
- ValueOfAction.cs
- COM2AboutBoxPropertyDescriptor.cs
- XmlCustomFormatter.cs
- HostingPreferredMapPath.cs
- GeneralTransformGroup.cs
- MultiView.cs
- BindingMemberInfo.cs
- FloaterBaseParagraph.cs
- NativeMethods.cs
- HostingEnvironmentWrapper.cs
- PauseStoryboard.cs
- NullableDoubleAverageAggregationOperator.cs
- ResourcePermissionBaseEntry.cs
- ProgressBarHighlightConverter.cs
- SimpleBitVector32.cs
- ByteAnimationUsingKeyFrames.cs
- SqlTriggerContext.cs
- WebPartEditorOkVerb.cs
- WebEventCodes.cs
- ReadOnlyHierarchicalDataSource.cs
- Model3DCollection.cs
- DropDownList.cs
- Models.cs
- EntityDataSourceMemberPath.cs
- ContourSegment.cs
- Single.cs
- DataTableTypeConverter.cs
- PanelStyle.cs
- DataRow.cs
- StyleCollectionEditor.cs
- SqlCachedBuffer.cs
- TypeResolvingOptions.cs
- InitialServerConnectionReader.cs
- GlobalEventManager.cs
- ControlPersister.cs
- DeviceSpecificDialogCachedState.cs
- FrameworkReadOnlyPropertyMetadata.cs
- SystemBrushes.cs
- Page.cs
- Matrix3D.cs
- DataRowView.cs
- ConnectionsZone.cs
- ToolStripManager.cs
- _CommandStream.cs
- SByteStorage.cs
- DataContractAttribute.cs