Share via


ViewHitTestResult.ViewHit Property

Gets the ViewItem object that was hit.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property ViewHit As ViewItem
    Get
public abstract ViewItem ViewHit { get; }
public:
virtual property ViewItem^ ViewHit {
    ViewItem^ get () abstract;
}
abstract ViewHit : ViewItem
abstract function get ViewHit () : ViewItem

Property Value

Type: Microsoft.Windows.Design.Interaction.ViewItem
The ViewItem that was hit.

.NET Framework Security

See Also

Reference

ViewHitTestResult Class

Microsoft.Windows.Design.Interaction Namespace