Click or drag to resize
NumericRangeMaskPart Class
Represents a MaskPart which accepts numbers in a specified range.
Inheritance Hierarchy
SystemObject
  Kettic.AspNet.ControlsMaskPart
    Kettic.AspNet.ControlsNumericRangeMaskPart

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class NumericRangeMaskPart : MaskPart

The NumericRangeMaskPart type exposes the following members.

Constructors
  NameDescription
Public methodNumericRangeMaskPart
Top
Methods
  NameDescription
Public methodToString
Returns the friendly name of the part.
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyLowerLimit
Gets or sets the smallest possible value the part can accept.
Public propertyUpperLimit
Gets or sets the largest possible value the part can accept.
Top
Examples
This example demonstrates how to add a NumericRangeMaskPart object in the MaskParts collection of KaxMaskedTextBox.
private void Page_Load(object sender, System.EventArgs e)
{ 
    NumericRangeMaskPart rangePart = new NumericRangeMaskPart();
    rangePart.LowerLimit = 0;
    rangePart.UpperLimit = 255;
    KaxMaskedTextBox1.MaskParts.Add(rangePart);
}
See Also