New to Telerik UI for WinFormsStart a free 30-day trial

Properties

Updated over 6 months ago
PropertyDescription
AutoSizeGets or sets whether the edit control is auto-sized
PlaceHolderGets or sets the character used as the placeholder in a masked editor
MaskGets or sets a mask expression
MaskTypeGets or sets the mask type
ValueGets or sets the value associated to the mask edit box
TextMaskFormatGets or sets a value that determines whether literals and prompt characters are included in the formatted string
UseGenericBorderPaintGets or sets a value indicating whether to show the bottom part of characters, clipped due to font name or size particularities
TextAlignGets or sets the horizontal alignment of the text
ShortcutsEnabledGets or sets a value indicating whether the defined shortcuts are enabled
SelectionStartGets or sets the starting point of text selected in the text box
ModifiedGets or sets a value indicating whether the RadTextBox control has been modified by the user since the control was created or since its contents were last set
MultilineGets or sets a value indicating whether this is a multiline TextBox control
NullTextGets or sets the text that is displayed when the ComboBox contains a null reference
PasswordCharGets or sets the character used to mask characters of a password in a single-line TextBox control
ReadOnlyGets or sets a value indicating whether the contents of the TextBox control can be changed
ScrollBarsGets or sets which scroll bars should appear in a multiline TextBox control
SelectedTextGets or sets a value indicating the currently selected text in the control
SelectionLengthGets or sets the number of characters selected in the text box
HideSelectionGets or sets a value indicating whether the selected text remains highlighted even when the RadTextBox has lost the focus
LinesGets or sets the lines of text in multiline configurations
AcceptsReturnGets or sets a value indicating whether pressing ENTER in a multiline RadTextBox control creates a new line of text in the control or activates the default button for the form
AcceptsTabGets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order
CharacterCasingGets or sets a value indicating whether the RadTextBox control modifies the case of characters as they are typed
CultureGets or sets the current culture associated to the RadMasedkEditBox

RadMaskedEditBoxElement's Properties

PropertyDescription
EnableClickSelectionStartEnables the SelectionStartMouseClick functionality.
SelectionStartOnMouseClickThe selection start will be moved to this position when EnableClickSelectionStart is enabled.
SelectionLengthOnMouseClickThe selection length will be set to this value when EnableClickSelectionStart is enabled.
ContextMenuRepresent the RadMaskedEditBox ContextMenu.
ProviderRepresents the provider that handles the applied MaskType functionality.
AllowPromptAsInputIndicates whether the prompt char is allowed as input.
ResultHintThis returns the result hint for the last assignment to the property. If the assigned text could not be properly formatted, this will contain a hint as to why not. Positive values indicate success. Negative values indicate failure.
HintPositionThis returns the result hint position for the last assignment to the property.
UnmaskedTextThis read-only property returns the unmasked copy of the text.
PromptCharThis is used to set or get the prompt character for display in the label text.
IncludePromptGets or sets whether or not prompt characters are displayed in the label text.
EnableNullValueInputGets or set a value indicating whether end users can set the value to NULL. This can be achieved by pressing Ctrl + Del or Ctrl + 0 key combinations.

Methods

MethodDescription
ClearClears all text from the text box control and Value
ClearUndoClears information about the most recent operation from the undo buffer of the text box
SelectAllselects the whole text

Events

EventDescription
ValueChangedOccurs when the editing value has been changed
ValueChangingOccurs when the editing value is changing
KeyDownOccurs when the RadItem has focus and the user presses a key down
KeyPressOccurs when the RadItem has focus and the user presses a key
KeyUpOccurs when the RadItem has focus and the user releases the pressed key up
MultilineChangedOccurs when the value of the Multiline property has changed
TextAlignChangedOccurs when the value of the TextAlign property has changed

See Also

In this article
See Also
Not finding the help you need?
Contact Support