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

RepositoryItemPopupContainerEdit.TextEditStyle Property

Gets or sets whether the text box is visible and enabled.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
public override TextEditStyles TextEditStyle { get; set; }

Property Value

Type Default Description
TextEditStyles

DisableTextEditor

A TextEditStyles enumeration value specifying text box availability.

Available values:

Name Description
Standard

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

ButtonEdit_TextEditStyle_Standard

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.

ButtonEdit_TextEditStyle_Hidetexteditor

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.

ButtonEdit_TextEditStyle_Disable

Remarks

This property overrides the RepositoryItemButtonEdit.TextEditStyle property to provide a different default value.

See Also