NumericRangeMaskPart Class |
Represents a MaskPart which accepts numbers in a specified range.
Inheritance Hierarchy
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic class NumericRangeMaskPart : MaskPart
Public Class NumericRangeMaskPart
Inherits MaskPart
public ref class NumericRangeMaskPart : public MaskPart
type NumericRangeMaskPart =
class
inherit MaskPart
end
The NumericRangeMaskPart type exposes the following members.
Constructors
Methods
| Name | Description |
---|
 | ToString | Returns the friendly name of the part. (Overrides ObjectToString.) |
Top
Properties
| Name | Description |
---|
 | LowerLimit | Gets or sets the smallest possible value the part can accept. |
 | UpperLimit | 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);
}
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim rangePart As New NumericRangeMaskPart()
rangePart.LowerLimit = 0
rangePart.UpperLimit = 255
KaxMaskedTextBox1.MaskParts.Add(rangePart)
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also