--- title: MaskedTextBoxHandle description: "Learn how to build custom functionality when working with the React Inputs by Kendo UI with the help of the MaskedTextBoxHandle." api_reference: true type: inner_api slug: api_inputs_maskedtextboxhandle --- # MaskedTextBoxHandle Represent the `ref` of the MaskedTextBox component.
Name Type Default Description
#### element "null" | HTMLInputElement Gets the element of the MaskedTextBox. ```jsx const App = () => { const [element, setElement] = React.useState(null); return (
setElement(component ? component.element : null)} />
); } ```
#### name undefined | string Gets the `name` property of the MaskedTextBox.
#### props Readonly<[MaskedTextBoxProps]({% slug api_inputs_maskedtextboxprops %})> The props of the MaskedTextBoxHandle component.
#### rawValue string Gets the raw value without the mask of the MaskedTextBox.
#### validity [FormComponentValidity]({% slug api_inputs_formcomponentvalidity %}) Represents the validity state into which the MaskedTextBox is set.
#### value string Gets the value with the mask of the MaskedTextBox.