共用方式為


AutomationProperties.SetIsInAccessibleTree Method

Definition

Sets a Boolean value that tells whether the bindable object is available to the accessibility system.

public:
 static void SetIsInAccessibleTree(Microsoft::Maui::Controls::BindableObject ^ bindable, Nullable<bool> value);
public static void SetIsInAccessibleTree (Microsoft.Maui.Controls.BindableObject bindable, bool? value);
static member SetIsInAccessibleTree : Microsoft.Maui.Controls.BindableObject * Nullable<bool> -> unit
Public Shared Sub SetIsInAccessibleTree (bindable As BindableObject, value As Nullable(Of Boolean))

Parameters

bindable
BindableObject

The object ot add or remove from the accessibility system.

value
Nullable<Boolean>

true to make bindable visible to the accessibility system. false to remove it from the system.

Applies to