Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / GeometryHitTestResult.cs / 1305600 / 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
- ListViewItem.cs
- Tracking.cs
- UnsafeNativeMethods.cs
- ServiceHostFactory.cs
- Win32KeyboardDevice.cs
- XPathCompileException.cs
- SafeHandles.cs
- BinaryFormatterWriter.cs
- SqlWebEventProvider.cs
- ModifiableIteratorCollection.cs
- XamlTreeBuilderBamlRecordWriter.cs
- DrawingContext.cs
- XpsViewerException.cs
- SimpleTypeResolver.cs
- EdmFunction.cs
- TimersDescriptionAttribute.cs
- Size.cs
- BufferBuilder.cs
- Journaling.cs
- FontFamilyConverter.cs
- MemberRelationshipService.cs
- CaseDesigner.xaml.cs
- UnsafeNativeMethodsMilCoreApi.cs
- BindingListCollectionView.cs
- HtmlForm.cs
- webeventbuffer.cs
- EmptyStringExpandableObjectConverter.cs
- TextBoxBase.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- DbConnectionPoolOptions.cs
- TCPClient.cs
- SpinWait.cs
- SqlNode.cs
- Pair.cs
- ReadOnlyTernaryTree.cs
- SuppressIldasmAttribute.cs
- XPathDocument.cs
- RegistrySecurity.cs
- PageSettings.cs
- AutoGeneratedField.cs
- ToolStripStatusLabel.cs
- ListBox.cs
- TextRangeEditLists.cs
- HebrewNumber.cs
- FixedTextContainer.cs
- DivideByZeroException.cs
- TypeSchema.cs
- LZCodec.cs
- RoamingStoreFile.cs
- VirtualPath.cs
- DateBoldEvent.cs
- SelectionProcessor.cs
- ValidationPropertyAttribute.cs
- BuilderInfo.cs
- TextClipboardData.cs
- DataGridViewAutoSizeModeEventArgs.cs
- MethodExpression.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DbDataRecord.cs
- Trace.cs
- SqlExpander.cs
- SetStoryboardSpeedRatio.cs
- MenuCommands.cs
- ByteStreamMessageEncoder.cs
- WebPartMenuStyle.cs
- NullRuntimeConfig.cs
- LayoutUtils.cs
- IsolatedStorageFile.cs
- AutomationPropertyInfo.cs
- SoapMessage.cs
- HealthMonitoringSection.cs
- ProvidePropertyAttribute.cs
- OleDbConnection.cs
- AccessKeyManager.cs
- ProjectedWrapper.cs
- Hex.cs
- GenericUriParser.cs
- UniformGrid.cs
- CmsInterop.cs
- OperatingSystem.cs
- BindStream.cs
- VisualStyleTypesAndProperties.cs
- FastEncoderWindow.cs
- MetadataSource.cs
- UIElementHelper.cs
- IisTraceWebEventProvider.cs
- AbandonedMutexException.cs
- OletxResourceManager.cs
- RuleSettingsCollection.cs
- ComboBox.cs
- PtsPage.cs
- ConnectionManagementElementCollection.cs
- MultiPropertyDescriptorGridEntry.cs
- PermissionListSet.cs
- DocumentReferenceCollection.cs
- ToolStripComboBox.cs
- ImageButton.cs
- SqlUtil.cs
- BlockExpression.cs
- Rules.cs