Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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