TextKeyListener.ShouldCap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the capitalization rules to consider.
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
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
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
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.