次の方法で共有


TextKeyListener.ShouldCap Method

Definition

Overloads

ShouldCap(TextKeyListener+Capitalize, ICharSequence, Int32)

Returns whether it makes sense to automatically capitalize at the specified position in the specified text, with the specified rules.

ShouldCap(TextKeyListener+Capitalize, String, Int32)

Returns whether it makes sense to automatically capitalize at the specified position in the specified text, with the specified rules.

ShouldCap(TextKeyListener+Capitalize, ICharSequence, Int32)

Returns whether it makes sense to automatically capitalize at the specified position in the specified text, with the specified rules.

[Android.Runtime.Register("shouldCap", "(Landroid/text/method/TextKeyListener$Capitalize;Ljava/lang/CharSequence;I)Z", "")]
public static bool ShouldCap (Android.Text.Method.TextKeyListener.Capitalize? cap, Java.Lang.ICharSequence? cs, int off);
[<Android.Runtime.Register("shouldCap", "(Landroid/text/method/TextKeyListener$Capitalize;Ljava/lang/CharSequence;I)Z", "")>]
static member ShouldCap : Android.Text.Method.TextKeyListener.Capitalize * Java.Lang.ICharSequence * int -> bool

Parameters

cap
TextKeyListener.Capitalize

the capitalization rules to consider.

cs
ICharSequence

the text in which an insertion is being made.

off
Int32

the offset into that text where the insertion is being made.

Returns

whether the character being inserted should be capitalized.

Attributes

Remarks

Java documentation for android.text.method.TextKeyListener.shouldCap(android.text.method.Capitalize, java.lang.CharSequence, int).

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

ShouldCap(TextKeyListener+Capitalize, String, Int32)

Returns whether it makes sense to automatically capitalize at the specified position in the specified text, with the specified rules.

public static bool ShouldCap (Android.Text.Method.TextKeyListener.Capitalize? cap, string? cs, int off);
static member ShouldCap : Android.Text.Method.TextKeyListener.Capitalize * string * int -> bool

Parameters

cap
TextKeyListener.Capitalize

the capitalization rules to consider.

cs
String

the text in which an insertion is being made.

off
Int32

the offset into that text where the insertion is being made.

Returns

whether the character being inserted should be capitalized.

Remarks

Java documentation for android.text.method.TextKeyListener.shouldCap(android.text.method.Capitalize, java.lang.CharSequence, int).

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