Class PivotViewFormatSettingBuilder
Inheritance
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
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
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
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
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
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
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
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
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(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
UseGrouping(Boolean)
It allows to use grouping to the formatted value,
Declaration
public PivotViewFormatSettingBuilder UseGrouping(bool useGrouping)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | useGrouping |