GridViewSettings.SettingsPager Property

Provides access to the pager's settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public ASPxGridViewPagerSettings SettingsPager { get; }
Public ReadOnly Property SettingsPager As ASPxGridViewPagerSettings

Property Value

Type Description
ASPxGridViewPagerSettings

An ASPxGridViewPagerSettings object that contains pager settings.

Remarks

Example

var grid = Html.DevExpress().GridView(settings =>
{
    settings.Name = "MyGridView";
    settings.KeyFieldName = "ID";

    settings.SettingsPager.Visible = true;
    settings.SettingsPager.PageSize = 5;
    ...
    });
}
@grid.Bind(Model).GetHtml()

Online Demos

See Also