Back to Devexpress

GridViewSettings.PreviewFieldName Property

aspnet-devexpress-dot-web-dot-mvc-dot-gridviewsettings-3e71dc0e.md

latest1.6 KB
Original Source

GridViewSettings.PreviewFieldName Property

Gets or sets the name of the data source field whose values are displayed within the preview rows.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v20.1.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Property Value

TypeDescription
String

A String value that specifies the name of the data source field whose values are displayed within preview rows.

|

Remarks

To display preview rows, set the ASPxGridViewSettings.ShowPreview property to true.

See Also

KeyFieldName

Grid View

GridViewSettings Class

GridViewSettings Members

DevExpress.Web.Mvc Namespace