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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin