Aracılığıyla paylaş


Toolbar.CollapseContentDescriptionFormatted Property

Definition

Retrieve the currently configured content description for the collapse button view. -or- Set a content description for the collapse button if one is present.

public virtual Java.Lang.ICharSequence? CollapseContentDescriptionFormatted { [Android.Runtime.Register("getCollapseContentDescription", "()Ljava/lang/CharSequence;", "GetGetCollapseContentDescriptionHandler", ApiSince=29)] get; [Android.Runtime.Register("setCollapseContentDescription", "(Ljava/lang/CharSequence;)V", "GetSetCollapseContentDescription_Ljava_lang_CharSequence_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getCollapseContentDescription", "()Ljava/lang/CharSequence;", "GetGetCollapseContentDescriptionHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setCollapseContentDescription", "(Ljava/lang/CharSequence;)V", "GetSetCollapseContentDescription_Ljava_lang_CharSequence_Handler", ApiSince=29)>]
member this.CollapseContentDescriptionFormatted : Java.Lang.ICharSequence with get, set

Property Value

The collapse button's content description

Attributes

Remarks

Property getter documentation:

Retrieve the currently configured content description for the collapse button view. This will be used to describe the collapse action to users through mechanisms such as screen readers or tooltips.

Java documentation for android.widget.Toolbar.getCollapseContentDescription().

Property setter documentation:

Set a content description for the collapse button if one is present. The content description will be read via screen readers or other accessibility systems to explain the action of the navigation button.

Java documentation for android.widget.Toolbar.setCollapseContentDescription(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