HitTestResult::VisualHit Property
.NET Framework (current version)
Gets the visual object that was hit.
Assembly: PresentationCore (in PresentationCore.dll)
Property Value
Type: System.Windows::DependencyObject^A DependencyObject value that represents the visual object that was hit.
DependencyObject is the type rather than Visual so that hit testing can bridge 2D and 3D trees through a viewport.
.NET Framework
Available since 3.0
Available since 3.0
Show: