A newer version of this page is available. Switch to the current version.

RepositoryItemButtonEdit.TextEditStyle Property

Gets or sets the style in which text is displayed and edited in the button editor.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll


[SmartTagProperty("Text Edit Style", "Editor Style", SmartTagActionType.RefreshAfterExecute)]
public virtual TextEditStyles TextEditStyle { get; set; }
<SmartTagProperty("Text Edit Style", "Editor Style", SmartTagActionType.RefreshAfterExecute)>
Public Overridable Property TextEditStyle As TextEditStyles

Property Value

Type Default Description


The TextEditStyles value determining the editing style.


The TextEditStyle property allows you to control the manner in which text and buttons are displayed within the button editor and in which text is edited. Possible values are enumerated by the TextEditStyles type. It is possible to specify the following edit styles:

  • 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 RepositoryItemButtonEdit.Buttons property. If no buttons are visible, 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. For popup editors, the text can be changed by selecting a value from the dropdown window. If you want to enable a user to select text but disable text modifications, you can consider using the RepositoryItem.ReadOnly property instead.


See Also