ComponentOne Input for WinForms
C1.Win.C1Input.4.8 Assembly / 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.
    Object Model
    CharHelper Class
    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