Google How to auto-capitalize keyboard/entry in xamarin forms | SubramanyamRaju Xamarin & Windows App Dev Tutorials

Sunday, 4 October 2020

How to auto-capitalize keyboard/entry in xamarin forms

Introduction:

The Keyboard class also has a Create factory method that can be used to customize a keyboard by specifying capitalization, spellcheck, and suggestion behavior

Description:

KeyboardFlags enumeration values are specified as arguments to the method, with a customized Keyboard being returned. The KeyboardFlags enumeration contains the following values:
  • None – no features are added to the keyboard.
  • CapitalizeSentence – indicates that the first letter of the first word of each entered sentence will be automatically capitalized. 
  • Spellcheck – indicates that spellcheck will be performed on entered text.
  • Suggestions – indicates that word completions will be offered on entered text.
  • CapitalizeWord – indicates that the first letter of each word will be automatically capitalized. 
  • CapitalizeCharacter – indicates that every character will be automatically capitalized. 
  • CapitalizeNone – indicates that no automatic capitalization will occur. 
  • All – indicates that spellcheck, word completions, and sentence capitalization will occur on entered text.
The following XAML code example shows how to customize the default Keyboard to offer word completions and capitalize every entered character:

  • <Entry Placeholder="Enter text here">  
  • <Entry.Keyboard>  
  •     <Keyboard x:FactoryMethod="Create">  
  •         <x:Arguments>  
  •             <KeyboardFlags>CapitalizeWord</KeyboardFlags>  
  •         </x:Arguments>  
  •     </Keyboard>  
  • </Entry.Keyboard>  

  • FeedBack Note: Please share your thoughts, what you think about this post, Is this post really helpful for you? I always welcome if you drop comments on this post and it would be impressive.

    Follow me always at @Subramanyam_B

    2 comments:

    1. I really like your blog. Thank you very much.

      ReplyDelete
    2. Hello
      My name is Elisabeth and I would like to contribute some articles for your website
      Please let me know if you are accepting Guest or Sponsored Posts with dofollow link inside
      I would like to know all the guidelines to write a perfect article for you

      Best Regards
      Elisabeth Muller
      elismullermarketing@gmail.com

      ReplyDelete

    Search Engine Submission - AddMe