Skip to main content
A newer version of this page is available. .
Tab

ASPxGridView.GetPreviewText(Int32) Method

Returns the preview text displayed within the specified data row.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public virtual string GetPreviewText(
    int visibleIndex
)

Parameters

Name Type Description
visibleIndex Int32

An integer value that identifies the data row.

Returns

Type Description
String

A string value that represents the preview text displayed within the specified data row.

Remarks

Data rows display preview sections if the ASPxGridViewSettings.ShowPreview option is set to true. The preview text is obtained from the data source field specified by the ASPxGridView.PreviewFieldName property.

See Also