TextEdit.MaskBox Property

Gets the text box that provides text editing functionality.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public virtual TextBoxMaskBox MaskBox { get; }
<Browsable(False)>
Public Overridable ReadOnly Property MaskBox As TextBoxMaskBox

Property Value

Type Description
DevExpress.XtraEditors.TextBoxMaskBox

A DevExpress.XtraEditors.TextBoxMaskBox object that represents the editor's text box.

Remarks

Text editors in the XtraEditors library are represented by the TextEdit class and its descendants. Internally, each DevExpress text editor owns a text box that implements the text input functionality. A text editor, which is a wrapper for a text box, adds additional elements to the text box (borders and buttons).

TextBox

The MaskBox property allows you to get an editor's text box.

The text box is represented by the DevExpress.XtraEditors.TextBoxMaskBox class, which is the TextBox control's descendant. Typically, you do need to work with DevExpress.XtraEditors.TextBoxMaskBox controls directly. In specific cases, however, this control can be retrieved by certain functions; for example, when a text editor is focused, the form's ActiveControl property will return the editor's text box (a DevExpress.XtraEditors.TextBoxMaskBox object) rather than the editor itself. To get the editor, read the text box's Parent property.

See Also