Skip to content

EditControlStyle Property

Description

Gets/sets the text formatting style for the GridRecordItem.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property EditControlStyle() As [XTPGridEditStyle](XtremeGridControl~Enumerations~XTPGridEditStyle_EN.md)

Remarks

The EditControlStyle automatically breaks lines between words if a word would extend past the edge of the item rectangle. A carriage return-linefeed sequence also breaks the line.

Text Style Values

Value Description
Top Top-justifies text.
Left Aligns text to the left.
Center Centers text horizontally in the rectangle.
Right Aligns text to the right.
Vertical Center Centers text vertically.
Bottom Justifies the text to the bottom of the rectangle.
WordBreak Breaks words.
Single Line Displays text on a single line only. Carriage returns and linefeeds do not break the line.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.