WindowChrome.GetIsHitTestVisibleInChrome Method

Gets the value of the IsHitTestVisibleInChrome attached property from the specified input element.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Shared Function GetIsHitTestVisibleInChrome ( _
    inputElement As IInputElement _
) As Boolean
public static bool GetIsHitTestVisibleInChrome(
    IInputElement inputElement
)
public:
static bool GetIsHitTestVisibleInChrome(
    IInputElement^ inputElement
)
static member GetIsHitTestVisibleInChrome : 
        inputElement:IInputElement -> bool 
public static function GetIsHitTestVisibleInChrome(
    inputElement : IInputElement
) : boolean

Parameters

Return Value

Type: System.Boolean
The value of the IsHitTestVisibleInChrome attached property.

Exceptions

Exception Condition
ArgumentNullException

inputElement is nulla null reference (Nothing in Visual Basic).

ArgumentException

inputElement is not a DependencyObject.

.NET Framework Security

See Also

Reference

WindowChrome Class

Microsoft.Windows.Shell Namespace