TcxCustomTextEditProperties.ViewStyle Property
Specifies the view style of the text and buttons in a text editor.
Declaration
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).
|
vsHideCursor | The text editor displays its text and buttons (if any) and hides the edit cursor. See the Properties.HideCursor property for details.
|
vsButtonsOnly | The text editor displays buttons only (if any).
|
vsButtonsAutoWidth | The text editor displays buttons only (if any). The width of the text editor is adjusted according to the buttons’ widths.
|
The width of a particular button is controlled by their Width and Stretchable properties.
The default value of the ViewStyle property is vsNormal.



