Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.InputTransparent Property

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

Syntax

public Boolean InputTransparent { get; set; }

See Also

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 VisualElement.InputTransparent property is inherited by a visual element's child elements.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0