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.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public string PreviewText { get; set; }

Property Value

Type Description
String

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

Remarks

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