Skip to main content

CalcPreviewTextEventArgs.PreviewText Property

Gets or sets a text to display within the preview section.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public string PreviewText { get; set; }

Property Value

Type Description

A string value specifying the text to display within the preview section.


Use the property to change the text that should be displayed within the preview section. By default, the property contains the specified field value within the current row. The field whose values are used for the preview section is specified by the View’s GridView.PreviewFieldName property. If the GridView.PreviewFieldName property is not specified or specified incorrectly, the PreviewText property value is initially an empty string.

See Also