Skip to main content
Tab

ASPxGridView.GetPreviewText(Int32) Method

Returns the preview text displayed within the specified data row.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

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