ComponentOne MultiSelect for WinForms
C1.Win.C1Input Namespace / CharHelper Class
Members Example

In This Topic
    CharHelper Class
    In This Topic
    Provides a set of static methods to work with Japanese encodings.
    Syntax
    'Declaration
     
    
    Public MustInherit NotInheritable Class CharHelper 
    public static class CharHelper 
    Example
    Shows how to use CharHelper in System.Windows.Forms.Control.KeyPress event handler for conditioning filtering inputs.
    private void c1TextBox1_KeyPress(object sender, KeyPressEventArgs e)
          {
              if (CharHelper.IsKatakana(e.KeyChar))
                 e.KeyChar = CharHelper.ToHiragana(e.KeyChar);
          }
    Inheritance Hierarchy

    System.Object
       C1.Win.C1Input.CharHelper

    See Also