Back to Devexpress

CalcPreviewTextEventArgs.PreviewText Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-calcpreviewtexteventargs.md

latest2.1 KB
Original Source

CalcPreviewTextEventArgs.PreviewText Property

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

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public string PreviewText { get; set; }
vb
Public Property PreviewText As String

Property Value

TypeDescription
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

RowHandle

CalcPreviewTextEventArgs Class

CalcPreviewTextEventArgs Members

DevExpress.XtraGrid.Views.Grid Namespace