VisualElement.InputTransparent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.