New to Telerik Document ProcessingStart a free 30-day trial

Defines a named special format with its corresponding format string pattern.

Definition

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

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class SpecialFormatInfo

Inheritance: objectSpecialFormatInfo

Constructors

Initializes a new instance of the SpecialFormatInfo class.

C#
public SpecialFormatInfo(string name, string formatString)
Parameters:namestring

The name.

formatStringstring

The format string.

Properties

Format pattern applied to cell values when this special format is used.

C#
public string FormatString { get; }
Property Value:

The format string.

Display name identifying this special format, such as "Zip Code" or "Phone Number".

C#
public string Name { get; }
Property Value:

The name.