Compartilhar via


View.AccessibilityPaneTitleFormatted Property

Definition

Get the title of the pane for purposes of accessibility. -or- Visually distinct portion of a window with window-like semantics are considered panes for accessibility purposes.

public virtual Java.Lang.ICharSequence? AccessibilityPaneTitleFormatted { [Android.Runtime.Register("getAccessibilityPaneTitle", "()Ljava/lang/CharSequence;", "GetGetAccessibilityPaneTitleHandler", ApiSince=28)] get; [Android.Runtime.Register("setAccessibilityPaneTitle", "(Ljava/lang/CharSequence;)V", "GetSetAccessibilityPaneTitle_Ljava_lang_CharSequence_Handler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("getAccessibilityPaneTitle", "()Ljava/lang/CharSequence;", "GetGetAccessibilityPaneTitleHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setAccessibilityPaneTitle", "(Ljava/lang/CharSequence;)V", "GetSetAccessibilityPaneTitle_Ljava_lang_CharSequence_Handler", ApiSince=28)>]
member this.AccessibilityPaneTitleFormatted : Java.Lang.ICharSequence with get, set

Property Value

The current pane title.

        <code data-dev-comment-type="c">#setAccessibilityPaneTitle</code>.
Attributes

Remarks

Property getter documentation:

Get the title of the pane for purposes of accessibility.

Java documentation for android.view.View.getAccessibilityPaneTitle().

Property setter documentation:

Visually distinct portion of a window with window-like semantics are considered panes for accessibility purposes. One example is the content view of a large fragment that is replaced. In order for accessibility services to understand a pane's window-like behavior, panes should have descriptive titles. Views with pane titles produce AccessibilityEvent#TYPE_WINDOW_STATE_CHANGEDs when they appear, disappear, or change title.

When transitioning from one Activity to another, instead of using setAccessibilityPaneTitle(), set a descriptive title for its window by using android:label for the matching <activity> entry in your application’s manifest or updating the title at runtime withandroid.app.Activity#setTitle(CharSequence).

Java documentation for android.view.View.setAccessibilityPaneTitle(java.lang.CharSequence).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to