RepositoryItemColorEdit.TextEditStyle Property

Gets or sets the style in which text is displayed in the control's edit box.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
public override TextEditStyles TextEditStyle { get; set; }
<DXCategory("Behavior")>
Public Overrides Property TextEditStyle As TextEditStyles

Property Value

Type Default Description
TextEditStyles

DisableTextEditor

The TextEditStyles value determining the editing style.

Remarks

The TextEditStyle property specifies how text and buttons are displayed and edited by the button editor. The editing styles available are enumerated by the TextEditStyles type.

The property has been overridden to prevent text being edited within the edit box. The property can only be set to TextEditStyles.DisableTextEditor or TextEditStyles.HideTextEditor.

You cannot set the property to TextEditStyles.Standard. In this case, TextEditStyle is actually set to TextEditStyles.DisableTextEditor, thus disabling editing/selecting text in the edit box.

See Also