Back to Devexpress

ASPxGridView.GetPreviewText(Int32) Method

aspnet-devexpress-dot-web-dot-aspxgridview-dot-getpreviewtext-x28-system-dot-int32-x29.md

latest1.8 KB
Original Source

ASPxGridView.GetPreviewText(Int32) Method

Returns the preview text displayed within the specified data row.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public virtual string GetPreviewText(
    int visibleIndex
)
vb
Public Overridable Function GetPreviewText(
    visibleIndex As Integer
) As String

Parameters

NameTypeDescription
visibleIndexInt32

An integer value that identifies the data row.

|

Returns

TypeDescription
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

Grid View

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace