Język

WindowChrome.SetIsHitTestVisibleInChrome(IInputElement, Boolean) Metoda

Definicja

Ustawia wartość dołączonej IsHitTestVisibleInChrome właściwości dla określonego elementu wejściowego.

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)

Parametry

inputElement
IInputElement

Element, na którym ma być ustawiona IsHitTestVisibleInChrome dołączona właściwość.

hitTestVisible
Boolean

Wartość właściwości do ustawienia.

Wyjątki

Parametr inputElement ma wartość null.

inputElementnie jest .DependencyObject

Dotyczy