Skip to main content

GridViewSettings.SettingsPager Property

Provides access to the pager‘s settings.

Namespace: DevExpress.Web.Mvc

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

Declaration

public ASPxGridViewPagerSettings SettingsPager { get; }

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