Skip to main content
A newer version of this page is available. .

PivotGridSettings.CustomizationFieldsTop Property

Gets or sets the Y-coordinate of the Customization form’s top-left corner.

Namespace: DevExpress.Web.Mvc

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

Declaration

public int CustomizationFieldsTop { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the Y-coordinate of the Customization form’s top-left corner. The value is set in screen coordinates.

Remarks

Use the PivotGridSettings.CustomizationFieldsLeft property to set the X-coordinate of the Customization form’s top-left corner. The PivotGridSettings.CustomizationFieldsVisible property controls the Customization form’s visibility.

You can use the ASPxClientPivotGrid.GetCustomizationFieldsVisibility and ASPxClientPivotGrid.SetCustomizationFieldsVisibility client-side methods to get and set the visibility of the Customization form.

The following code snippet shows how to set the Customization form’s coordinates.


@Html.DevExpress().PivotGrid(settings => {
    settings.Name = "PivotGrid";
    settings.CallbackRouteValues = new { Controller = "Home", Action = "PivotGridPartial" };
    settings.CustomizationFieldsLeft = 50;
    settings.CustomizationFieldsTop = 30;
    settings.CustomizationFieldsVisible = true;

}).Bind(Model).GetHtml()
See Also