RepositoryItemBlobBaseEdit.TextEditStyle Property

Gets or sets the style in which text is displayed in the BLOB editor'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

A TextEditStyles enumeration value determining editing style.

Remarks

The TextEditStyle property specifies how the edit region is displayed within a BLOB editor. This region can contain buttons and, optionally, an identification icon/text depending on this property's setting. Possible editing styles are enumerated by the TextEditStyles type.

The property is overridden to prevent editing text in the BLOB editor's edit box. The property can only be set to TextEditStyles.DisableTextEditor or TextEditStyles.HideTextEditor as you cannot set the property to TextEditStyles.Standard. If you try to do this, the TextEditStyle property is actually set to TextEditStyles.DisableTextEditor.

The image below displays a BLOB editor (MemoExEdit) whose TextEditStyle property has changed from the default TextEditStyles.DisableTextEditor to TextEditStyles.HideTextEditor.

BlobBaseEdit_TextEditStyle.gif

Changing the value of this property at runtime raises the RepositoryItem.PropertiesChanged event.

See Also