Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTextEditProperties.ViewStyle Property

Specifies the view style of the text and buttons in a text editor.

#Declaration

Delphi
property ViewStyle: TcxTextEditViewStyle read; write; default vsNormal;

#Property Value

Type Default
TcxTextEditViewStyle vsNormal

#Remarks

Use the ViewStyle property to specify the manner (view style) in which text and buttons are displayed in a text editor. The table below describes the values that can be assigned to this property.

Value

Description

vsNormal

The text editor displays its text and buttons (if any).

Text and Buttons

vsHideCursor

The text editor displays its text and buttons (if any) and hides the edit cursor. See the Properties.HideCursor property for details.

Hidden Cursor

vsButtonsOnly

The text editor displays buttons only (if any).

Only Buttons

vsButtonsAutoWidth

The text editor displays buttons only (if any). The width of the text editor is adjusted according to the buttons’ widths.

An Automatically Resized Editor with Buttons

The width of a particular button is controlled by their Width and Stretchable properties.

The default value of the ViewStyle property is vsNormal.

See Also