Xceed Grid for WinForms v4.3 Documentation
CustomWinTextBox class C# implementation
Welcome to Xceed Grid for WinForms v4.3 > Advanced Concepts > Editors - Advanced Concepts > Adding mask characters > CustomWinTextBox class C# implementation

The following code provides the C# implementation of the CustomWinTextBox class.

C# Copy Code

using System;
using Xceed.Editors;  

namespace Xceed.Editors.Samples
{
  public class CustomWinTextBox : WinTextBox
  {
    public CustomWinTextBox()
      :base()
    {
    }

    protected override TextBoxArea CreateTextBoxArea()
    {
      return new CustomTextBoxArea( this );
    }        
  }
}