Skip to main content

TcxGridTableView.Preview Property

Settings required for implementing preview within the Table View.

Declaration

property Preview: TcxGridPreview read; write;

Property Value

Type
TcxGridPreview

Remarks

Use this property to access settings required for implementing the preview section into a Table View. These settings include:

  • The Preview.Visible property which determines whether to display the preview section;

  • The Preview.Column property which defines the grid column used to display the preview;

  • The Preview.LeftIndent and Preview.RightIndent properties determining the position of the preview text;

  • The Preview.Place property used to determine the preview sections position within a View;

  • The Preview.AutoHeight property determining whether the preview sections height is automatically sized based on the content;

  • The Preview.MaxLineCount property specifying the maximum number of text lines displayed within the preview.

Another way to specify the column for previewing is to set the appropriate column’s IsPreview property to True.

See Also