menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotViewFormatSettingBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotViewFormatSettingBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PivotViewFormatSettingBuilder
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewFormatSettingBuilder : ControlBuilder

    Constructors

    PivotViewFormatSettingBuilder()

    Declaration
    public PivotViewFormatSettingBuilder()

    PivotViewFormatSettingBuilder(List<PivotViewFormatSetting>)

    Declaration
    public PivotViewFormatSettingBuilder(List<PivotViewFormatSetting> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<PivotViewFormatSetting> collection

    Methods

    Add()

    Declaration
    public void Add()

    Currency(String)

    It allows to specify the currency code to be used for formatting.

    Declaration
    public PivotViewFormatSettingBuilder Currency(string currency)
    Parameters
    Type Name Description
    System.String currency
    Returns
    Type
    PivotViewFormatSettingBuilder

    Format(String)

    It allows to specify custom number format for formatting.

    Declaration
    public PivotViewFormatSettingBuilder Format(string format)
    Parameters
    Type Name Description
    System.String format
    Returns
    Type
    PivotViewFormatSettingBuilder

    MaximumFractionDigits(Int32)

    It allows to specify maximum fraction digits to the formatted value.

    Declaration
    public PivotViewFormatSettingBuilder MaximumFractionDigits(int maximumFractionDigits)
    Parameters
    Type Name Description
    System.Int32 maximumFractionDigits
    Returns
    Type
    PivotViewFormatSettingBuilder

    MaximumSignificantDigits(Int32)

    It allows to specify maximum significant digits to the formatted value.

    Declaration
    public PivotViewFormatSettingBuilder MaximumSignificantDigits(int maximumSignificantDigits)
    Parameters
    Type Name Description
    System.Int32 maximumSignificantDigits
    Returns
    Type
    PivotViewFormatSettingBuilder

    MinimumFractionDigits(Int32)

    It allows to specify minimum fraction digits to the formatted value.

    Declaration
    public PivotViewFormatSettingBuilder MinimumFractionDigits(int minimumFractionDigits)
    Parameters
    Type Name Description
    System.Int32 minimumFractionDigits
    Returns
    Type
    PivotViewFormatSettingBuilder

    MinimumIntegerDigits(Int32)

    It allows to specify minimum integer digits to the formatted value.

    Declaration
    public PivotViewFormatSettingBuilder MinimumIntegerDigits(int minimumIntegerDigits)
    Parameters
    Type Name Description
    System.Int32 minimumIntegerDigits
    Returns
    Type
    PivotViewFormatSettingBuilder

    MinimumSignificantDigits(Int32)

    It allows to specify minimum significant digits to the formatted value.

    Declaration
    public PivotViewFormatSettingBuilder MinimumSignificantDigits(int minimumSignificantDigits)
    Parameters
    Type Name Description
    System.Int32 minimumSignificantDigits
    Returns
    Type
    PivotViewFormatSettingBuilder

    Name(String)

    It allows to set the field name to apply format settings.

    Declaration
    public PivotViewFormatSettingBuilder Name(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    PivotViewFormatSettingBuilder

    Skeleton(String)

    It allows to specify the skeleton such as full, medium, long, short, etc. to perform date formatting.

    It is applicable only for date type formatting.

    Declaration
    public PivotViewFormatSettingBuilder Skeleton(string skeleton)
    Parameters
    Type Name Description
    System.String skeleton
    Returns
    Type
    PivotViewFormatSettingBuilder

    Type(String)

    It allows to specify the type of date formatting either date, dateTime or time.

    Declaration
    public PivotViewFormatSettingBuilder Type(string type)
    Parameters
    Type Name Description
    System.String type
    Returns
    Type
    PivotViewFormatSettingBuilder

    UseGrouping(Boolean)

    It allows to use grouping to the formatted value,

    Declaration
    public PivotViewFormatSettingBuilder UseGrouping(bool useGrouping)
    Parameters
    Type Name Description
    System.Boolean useGrouping
    Returns
    Type
    PivotViewFormatSettingBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved