Skip to main content

PivotGridSettings.CustomizationFieldsLeft Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public int CustomizationFieldsLeft { get; set; }

Property Value

Type Description
Int32

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

Remarks

Use the PivotGridSettings.CustomizationFieldsTop property to set the Y-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