WindowChrome.SetIsHitTestVisibleInChrome Method

Sets the value of the IsHitTestVisibleInChrome attached property on the specified input element.

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

Syntax

'Declaration
Public Shared Sub SetIsHitTestVisibleInChrome ( _
    inputElement As IInputElement, _
    hitTestVisible As Boolean _
)
public static void SetIsHitTestVisibleInChrome(
    IInputElement inputElement,
    bool hitTestVisible
)
public:
static void SetIsHitTestVisibleInChrome(
    IInputElement^ inputElement, 
    bool hitTestVisible
)
static member SetIsHitTestVisibleInChrome : 
        inputElement:IInputElement * 
        hitTestVisible:bool -> unit 
public static function SetIsHitTestVisibleInChrome(
    inputElement : IInputElement, 
    hitTestVisible : boolean
)

Parameters

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