共用方式為


AutomationProperties.GetIsInAccessibleTree(BindableObject) Method

Definition

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

public:
 static Nullable<bool> GetIsInAccessibleTree(Microsoft::Maui::Controls::BindableObject ^ bindable);
public static bool? GetIsInAccessibleTree (Microsoft.Maui.Controls.BindableObject bindable);
static member GetIsInAccessibleTree : Microsoft.Maui.Controls.BindableObject -> Nullable<bool>
Public Shared Function GetIsInAccessibleTree (bindable As BindableObject) As Nullable(Of Boolean)

Parameters

bindable
BindableObject

The bindable object whose status to check.

Returns

true if bindable is available to the accessibility system. false or null if it is not.

Remarks

Developers use SetIsInAccessibleTree(BindableObject, Nullable<Boolean>) to set this attached property to true in order to make the bindable object available to the accessibility system.

Applies to