New to Telerik Document ProcessingStart a free 30-day trial

Provides configuration for percentage formatting, specifying decimal places for percent values.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.Infos

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class PercentageFormatStringInfo : ICategorizedFormatStringInfo

Inheritance: objectPercentageFormatStringInfo

Implements: ICategorizedFormatStringInfo

Constructors

Initializes a new instance of the PercentageFormatStringInfo class.

C#
public PercentageFormatStringInfo(int decimalPlaces)
Parameters:decimalPlacesint

The decimal places.

Properties

Number of decimal places to display after the percentage value.

C#
public int DecimalPlaces { get; }
Property Value:

The decimal places.