Skip to main content

RepositoryItemLookUpEditBase.TextEditStyle Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public override TextEditStyles TextEditStyle { get; set; }

Property Value

Type Default Description
TextEditStyles DisableTextEditor

A TextEditStyles value determining the editing style.

Available values:

Name Description

A button editor works in its normal way. Editing and selecting text is allowed.



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.



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.



A lookup editor overrides the base RepositoryItemButtonEdit.TextEditStyle property by redefining its default value. The editor does not change the property’s functionality. Refer to the RepositoryItemButtonEdit.TextEditStyle topic for more information.

See Also