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

false if the element and its children should receive input; true if neither the element nor its children should receive input and should, instead, pass inputs to the elements that are visually behind the current visual element. Default is false.

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

See also