public AlphanumericTextBox(AlphanumericBehavior behavior) : base(behavior) { }
public AlphanumericTextBox() { m_behavior = new AlphanumericBehavior(this); }
public AlphanumericTextBox(string invalidChars) { m_behavior = new AlphanumericBehavior(this, invalidChars); }
/// <summary> /// Initializes a new instance of the AlphanumericTextBox class by assigning its Behavior field /// to an instance of <see cref="AlphanumericBehavior" /> and passing it the characters to consider invalid. </summary> /// <param name="invalidChars"> /// An array of characters that should not be allowed. </param> public AlphanumericTextBox(char[] invalidChars) { behavior = new AlphanumericBehavior(this, invalidChars); }