Sdílet prostřednictvím


Preference.SingleLineTitle Property

Definition

Gets whether the title of this preference is constrained to a single line. -or- Sets whether to constrain the title of this Preference to a single line instead of letting it wrap onto multiple lines.

public virtual bool SingleLineTitle { [Android.Runtime.Register("isSingleLineTitle", "()Z", "GetIsSingleLineTitleHandler", ApiSince=26)] get; [Android.Runtime.Register("setSingleLineTitle", "(Z)V", "GetSetSingleLineTitle_ZHandler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("isSingleLineTitle", "()Z", "GetIsSingleLineTitleHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setSingleLineTitle", "(Z)V", "GetSetSingleLineTitle_ZHandler", ApiSince=26)>]
member this.SingleLineTitle : bool with get, set

Property Value

true if the title of this preference is constrained to a single line

Attributes

Remarks

Property getter documentation:

Gets whether the title of this preference is constrained to a single line.

Java documentation for android.preference.Preference.isSingleLineTitle().

Property setter documentation:

Sets whether to constrain the title of this Preference to a single line instead of letting it wrap onto multiple lines.

Java documentation for android.preference.Preference.setSingleLineTitle(boolean).

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