Appearance
The MaskedTextBox provides a predefined set of appearance options.
Apart from the default vision of the MaskedTextBox, these alternative styling options enable you to configure each individual aspect of the appearance of a MaskedTextBox.
Size
The KendoReact MaskedTextBox enables you to configure its size.
smallmedium(Default)largenull- Does not set a sizeclassName
The following example demonstrates how to set the size of the MaskedTextBox.
Fill Mode
The MaskedTextBox supports the following fillMode options:
solid(Default)outlineflatnull- Does not set aclassNamefor fillMode
The following example demonstrates how to set the fillMode of the MaskedTextBox.
Border Radius
The MaskedTextBox enables you to apply different border radius to the component through the rounded property.
The rounded option supports the following values:
smallmedium(Default)largenull- Does not set aclassNamefor size
The following example demonstrates how to define the border radius of the MaskedTextBox.
Adornments
You can also render custom React Components like the Icon and Button by configuring the prefix and suffix props of the MaskedTextBox component and then implement custom functionality on top of them.
For correct styling, wrap custom adornments in
InputPrefixandInputSuffixcontainers.