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
- TaiwanCalendar.cs
- LessThanOrEqual.cs
- AssemblyHash.cs
- ProxyWebPart.cs
- MetadataCache.cs
- Rijndael.cs
- AccessText.cs
- SchemaElementLookUpTable.cs
- AssemblyUtil.cs
- WindowsFormsSynchronizationContext.cs
- SourceFileInfo.cs
- XmlWhitespace.cs
- ToolboxItem.cs
- DependencyProperty.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- EventProperty.cs
- PointCollectionConverter.cs
- Condition.cs
- DependencyPropertyConverter.cs
- StateManagedCollection.cs
- ChangePassword.cs
- TextProperties.cs
- TogglePattern.cs
- ServerValidateEventArgs.cs
- ApplicationHost.cs
- OpenTypeMethods.cs
- WindowsToolbarAsMenu.cs
- SetterBase.cs
- HostedTransportConfigurationBase.cs
- ColumnHeaderCollectionEditor.cs
- DesignSurfaceEvent.cs
- x509store.cs
- CurrentChangedEventManager.cs
- ListBindingConverter.cs
- ShaperBuffers.cs
- base64Transforms.cs
- RepeatButtonAutomationPeer.cs
- Itemizer.cs
- BitmapEffect.cs
- GeometryModel3D.cs
- XmlCDATASection.cs
- AppDomainUnloadedException.cs
- BlockCollection.cs
- Lease.cs
- DataGridViewRowConverter.cs
- PropertyMappingExceptionEventArgs.cs
- SqlDataSourceQuery.cs
- EditingScope.cs
- CFStream.cs
- xml.cs
- DbConnectionStringCommon.cs
- Compiler.cs
- DbParameterCollectionHelper.cs
- TreeViewHitTestInfo.cs
- Floater.cs
- XmlDataDocument.cs
- RelationshipType.cs
- FixedPage.cs
- GeometryGroup.cs
- SpotLight.cs
- XamlFilter.cs
- MimeMultiPart.cs
- MultiByteCodec.cs
- EDesignUtil.cs
- DiscreteKeyFrames.cs
- InternalPermissions.cs
- AssociationEndMember.cs
- ObjectMaterializedEventArgs.cs
- AccessControlEntry.cs
- ExtensionSimplifierMarkupObject.cs
- PropertyDescriptorCollection.cs
- SerializationEventsCache.cs
- ServiceReference.cs
- TransformProviderWrapper.cs
- SafeFileMappingHandle.cs
- DataSourceCacheDurationConverter.cs
- TrustManagerPromptUI.cs
- HtmlForm.cs
- BitmapEffectDrawingContextWalker.cs
- TypeCollectionDesigner.xaml.cs
- XPathEmptyIterator.cs
- M3DUtil.cs
- ThemeableAttribute.cs
- ParenthesizePropertyNameAttribute.cs
- MessageEncodingBindingElement.cs
- ListViewItemMouseHoverEvent.cs
- ObjectDataSourceDisposingEventArgs.cs
- CodePageEncoding.cs
- CodeDomSerializationProvider.cs
- BinaryObjectReader.cs
- ObjectListFieldCollection.cs
- PropertyGeneratedEventArgs.cs
- FtpWebRequest.cs
- BooleanAnimationUsingKeyFrames.cs
- ToolStripSeparatorRenderEventArgs.cs
- XamlSerializer.cs
- CollectionView.cs
- DisposableCollectionWrapper.cs
- DBBindings.cs
- WindowInteropHelper.cs