Share via


RuleBasedCollator.UpperCaseFirst Property

Definition

Return true if an uppercase character is sorted before the corresponding lowercase character. -or- Sets whether uppercase characters sort before lowercase characters or vice versa, in strength TERTIARY.

public bool UpperCaseFirst { [Android.Runtime.Register("isUpperCaseFirst", "()Z", "", ApiSince=24)] get; [Android.Runtime.Register("setUpperCaseFirst", "(Z)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isUpperCaseFirst", "()Z", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setUpperCaseFirst", "(Z)V", "", ApiSince=24)>]
member this.UpperCaseFirst : bool with get, set

Property Value

true if upper cased characters are sorted before lower cased characters, false otherwise

Attributes

Remarks

Property getter documentation:

Return true if an uppercase character is sorted before the corresponding lowercase character. See setCaseFirst(boolean) for details.

Java documentation for android.icu.text.RuleBasedCollator.isUpperCaseFirst().

Property setter documentation:

Sets whether uppercase characters sort before lowercase characters or vice versa, in strength TERTIARY. If false, lowercase characters sort before uppercase characters. If true, sort upper case characters first. The default setting in a Collator object depends on the locale data loaded from the resources. For most locales, the default is false, but for others, such as "da" or "mt", the default could be true.

Java documentation for android.icu.text.RuleBasedCollator.setUpperCaseFirst(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