Compartir a través de


WindowChrome.SetIsHitTestVisibleInChrome (Método)

Establece el valor de la propiedad adjunta IsHitTestVisibleInChrome del elemento de entrada especificado.

Espacio de nombres:  Microsoft.Windows.Shell
Ensamblado:  Microsoft.Windows.Shell (en Microsoft.Windows.Shell.dll)

Sintaxis

'Declaración
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
)

Parámetros

  • hitTestVisible
    Tipo: System.Boolean
    Valor de la propiedad que se va a establecer.

Excepciones

Excepción Condición
ArgumentNullException

El valor de inputElement es null.

ArgumentException

inputElement no es un objeto DependencyObject.

Seguridad de .NET Framework

Vea también

Referencia

WindowChrome Clase

Microsoft.Windows.Shell (Espacio de nombres)