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 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for