VisualElement.InputTransparent VisualElement.InputTransparent Property

Definition

Gets or sets a value indicating whether this element should be involved in the user interaction cycle. This is a bindable property.

public bool InputTransparent { get; set; }
member this.InputTransparent : bool with get, set
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

Setting InputTransparent is not the same as setting IsEnabled to false. Setting InputTransparent only disables inputs and instead causes them to be passed to the VisualElement that is visually behind the element. Usually, this is the parent of the element. The value of the InputTransparent property is inherited by a visual element's child elements.

Applies to

See Also