• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class NumberFormat

Represents the number format used by the presentation model.

Inheritance
object
Format
NumberFormat
CurrencyFormat
PercentFormat
ScientificFormat
Inherited Members
Format.Parse(string)
Format._code
Format.Code
Format.GetHashCode()
Format.Equals(object)
Format.GetColor(object)
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Office
Assembly: DRIT.Presentation.dll
Syntax
public class NumberFormat : Format

Constructors

NumberFormat(string)

Initializes a new instance of the number format class.

Declaration
public NumberFormat(string code)
Parameters
Type Name Description
string code

The code to convert or assign.

Properties

Category

Gets or sets the category associated with this object.

Declaration
public override FormatCategory Category { get; }
Property Value
Type Description
FormatCategory
Overrides
Format.Category

Methods

CanFormat(object)

Handles can format for this number format.

Declaration
public override bool CanFormat(object o)
Parameters
Type Name Description
object o

The object to compare with this value.

Returns
Type Description
bool

true if the operation succeeds; otherwise, false.

Overrides
Format.CanFormat(object)

DecreaseDecimal()

Handles decrease decimal for this number format.

Declaration
public virtual Format DecreaseDecimal()
Returns
Type Description
Format

The decrease decimal value produced by the operation.

IncreaseDecimal()

Handles increase decimal for this number format.

Declaration
public virtual Format IncreaseDecimal()
Returns
Type Description
Format

The increase decimal value produced by the operation.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX