Share via


VisualElement.InputTransparent Property

Definition

Gets or sets a value indicating whether this element responds to hit testing during user interaction. This is a bindable property.

public:
 property bool InputTransparent { bool get(); void set(bool value); };
public bool InputTransparent { get; set; }
member this.InputTransparent : bool with get, set
Public Property InputTransparent As Boolean

Property Value

Remarks

The default value is false.

Setting InputTransparent to true makes the element invisible to touch and pointer input. The input is passed to the first non-input-transparent element that is visually behind the input transparent element.

Applies to