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

Class GeneralFormat

Represents the general format used by the presentation model.

Inheritance
object
Format
GeneralFormat
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 GeneralFormat : Format

Constructors

GeneralFormat()

Initializes a new instance of the general format class.

Declaration
public GeneralFormat()

GeneralFormat(string)

Initializes a new instance of the general format class.

Declaration
public GeneralFormat(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 general 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)

GetFormattedValue(object, int)

Gets the formatted value from this general format.

Declaration
public object GetFormattedValue(object value, int maxCount)
Parameters
Type Name Description
object value

The value supplied to this operation.

int maxCount

The max count supplied to this operation.

Returns
Type Description
object

The get formatted value 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