WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) Método

Definição

Define o valor da IsHitTestVisibleInChrome propriedade associada no elemento de entrada especificado.

public:
 static void SetIsHitTestVisibleInChrome(System::Windows::IInputElement ^ inputElement, bool hitTestVisible);
public static void SetIsHitTestVisibleInChrome(System.Windows.IInputElement inputElement, bool hitTestVisible);
static member SetIsHitTestVisibleInChrome : System.Windows.IInputElement * bool -> unit
Public Shared Sub SetIsHitTestVisibleInChrome (inputElement As IInputElement, hitTestVisible As Boolean)

Parâmetros

inputElement
IInputElement

O elemento sobre o qual definir a IsHitTestVisibleInChrome propriedade anexada.

hitTestVisible
Boolean

O valor da propriedade para definir.

Exceções

inputElement é null.

inputElement não é um DependencyObject.

Aplica-se a