WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) Méthode

Définition

Définit la valeur de la propriété jointe IsHitTestVisibleInChrome sur un élément d'entrée spécifié.

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)

Paramètres

inputElement
IInputElement

Élément sur lequel définir la propriété jointe IsHitTestVisibleInChrome .

hitTestVisible
Boolean

Valeur de propriété à définir.

Exceptions

inputElement a la valeur null.

inputElement n’est pas un DependencyObject.

S’applique à