TextEditStyles Enum
Specifies how a value is displayed and edited in the button editor’s edit box.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Members
Name | Description |
---|---|
Standard
|
A button editor works in its normal way. Editing and selecting text is allowed. |
HideTextEditor
|
The text editing region is not visible and the editor displays only buttons contained in the current button editor. If no buttons can be displayed (for instance because of setting the EditorButton.Visible property to False), the editor displays an empty region in this case. |
DisableTextEditor
|
A button editor is displayed in its normal way. However, editing and selecting text is not allowed. If you want to enable a user to select text but disable text modifications, you can set the text editing style to Standard and set the RepositoryItem.ReadOnly property to true. |
Related API Members
The following properties accept/return TextEditStyles values:
Remarks
The TextEditStyles type specifies the manner in which text is displayed and edited in the edit box of a button editor. To specify the text editing style, see the editor’s Properties.TextEditStyle property (for instance, for a button editor see the RepositoryItemButtonEdit.TextEditStyle property). You can enable and disable editing and selecting text and also hide the edit region.
The text editing style does not affect the editor buttons’ functionality .
The following images show button editors with corresponding editing styles.