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

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