Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / PointHitTestResult.cs / 1 / PointHitTestResult.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: PointHitTestResult //----------------------------------------------------------------------------- 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 PointHitTestResult : HitTestResult { private Point _pointHit; ////// This constructor takes a visual and point respresenting a hit. /// public PointHitTestResult(Visual visualHit, Point pointHit) : base(visualHit) { _pointHit = pointHit; } ////// The point in local space of the hit visual. /// public Point PointHit { get { return _pointHit; } } ////// 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: PointHitTestResult //----------------------------------------------------------------------------- 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 PointHitTestResult : HitTestResult { private Point _pointHit; ////// This constructor takes a visual and point respresenting a hit. /// public PointHitTestResult(Visual visualHit, Point pointHit) : base(visualHit) { _pointHit = pointHit; } ////// The point in local space of the hit visual. /// public Point PointHit { get { return _pointHit; } } ////// 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
- HandleRef.cs
- ProjectionCamera.cs
- XdrBuilder.cs
- AnimationClockResource.cs
- RecipientInfo.cs
- CodeTypeDeclarationCollection.cs
- serverconfig.cs
- EdgeProfileValidation.cs
- DoubleConverter.cs
- Rule.cs
- SqlTrackingService.cs
- XmlCustomFormatter.cs
- ToolStripLabel.cs
- DataGridViewLinkColumn.cs
- SafeNativeMethods.cs
- BoundField.cs
- DataGridViewCellStyleEditor.cs
- SafeBitVector32.cs
- ErrorWebPart.cs
- QilScopedVisitor.cs
- IncrementalReadDecoders.cs
- FormViewDeleteEventArgs.cs
- ExpandableObjectConverter.cs
- ProvidersHelper.cs
- TextBreakpoint.cs
- LineProperties.cs
- ResourcePart.cs
- CommandSet.cs
- RowToFieldTransformer.cs
- WinFormsSecurity.cs
- VarRefManager.cs
- AssemblyBuilder.cs
- EpmHelper.cs
- PolygonHotSpot.cs
- OperationCanceledException.cs
- SafeEventLogWriteHandle.cs
- TrimSurroundingWhitespaceAttribute.cs
- IDictionary.cs
- LambdaCompiler.Generated.cs
- CancellationHandler.cs
- InternalsVisibleToAttribute.cs
- MarkupExtensionReturnTypeAttribute.cs
- AlternateViewCollection.cs
- DbProviderConfigurationHandler.cs
- PreApplicationStartMethodAttribute.cs
- CommonProperties.cs
- ManipulationStartingEventArgs.cs
- TextEncodedRawTextWriter.cs
- FastPropertyAccessor.cs
- BitmapEffectrendercontext.cs
- UnsafeNativeMethods.cs
- Point3DCollectionValueSerializer.cs
- SeparatorAutomationPeer.cs
- ServiceAuthorizationManager.cs
- CommonObjectSecurity.cs
- EncryptedReference.cs
- SmtpNetworkElement.cs
- EntityRecordInfo.cs
- EventToken.cs
- ChannelToken.cs
- hresults.cs
- URL.cs
- AssemblyAttributes.cs
- processwaithandle.cs
- RegexRunnerFactory.cs
- HiddenField.cs
- EntityAdapter.cs
- SimpleBitVector32.cs
- TableLayoutSettings.cs
- WebPartDisplayMode.cs
- DateTimeAutomationPeer.cs
- InkCanvasSelection.cs
- xmlfixedPageInfo.cs
- InputScopeManager.cs
- Ipv6Element.cs
- QilDataSource.cs
- RoutedCommand.cs
- ImageMap.cs
- SqlTypesSchemaImporter.cs
- EventInfo.cs
- ResourceReferenceExpressionConverter.cs
- DecoratedNameAttribute.cs
- DataColumnChangeEvent.cs
- UrlRoutingModule.cs
- InternalUserCancelledException.cs
- TransportationConfigurationTypeInstallComponent.cs
- RecipientInfo.cs
- AttributeCollection.cs
- ExpandCollapsePatternIdentifiers.cs
- DynamicDiscoSearcher.cs
- ActivityExecutorSurrogate.cs
- TextOptions.cs
- FrameworkObject.cs
- RegionInfo.cs
- SafeFileMappingHandle.cs
- _AutoWebProxyScriptWrapper.cs
- IListConverters.cs
- PreservationFileReader.cs
- EventArgs.cs
- DataListItem.cs