Show / Hide Table of Contents

Class Constants.DisplayTypes

Display types for archive columns. The cell content (DisplayText) is always a string; however, it should be interpreted and displayed as a specific type according to the strings defined here. Numeric and date types will always be formatted with the CultureDataFormatter class and need to be decoded/localized before display.

Inheritance
object
Constants.DisplayTypes
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoCore.dll
Syntax
public static class Constants.DisplayTypes

Fields

Bool

A small ceneterd dot for value=true, otherwise empty

Declaration
public const string Bool = "bool"
Field Value
Type Description
string

Checkbox

A checkbox, displayed centered

Declaration
public const string Checkbox = "checkbox"
Field Value
Type Description
string

Date

A date without time, left justified, formatted to the current culture

Declaration
public const string Date = "date"
Field Value
Type Description
string

Datetime

A full date+time, left justified, formatted to the current culture

Declaration
public const string Datetime = "datetime"
Field Value
Type Description
string

Decimal

A decimal/floating-point value, left justified, formatted to the current culture

Declaration
public const string Decimal = "decimal"
Field Value
Type Description
string

Icon

An icon, displayed centered, the displayvalue is an icon hint

Declaration
public const string Icon = "icon"
Field Value
Type Description
string

Image

A dynamic image from the database, centered, displayvalue is a base64-encoded JPG or PNG image

Declaration
public const string Image = "image"
Field Value
Type Description
string

ImageUrl

An image url.

Declaration
public const string ImageUrl = "imageurl"
Field Value
Type Description
string

Int

An integer, displayed right-justified and formatted to the current culture

Declaration
public const string Int = "int"
Field Value
Type Description
string

String

A simple string, displayed as-is, left justified

Declaration
public const string String = "string"
Field Value
Type Description
string

Tags

An int array displayed as tags.

Declaration
public const string Tags = "tags"
Field Value
Type Description
string

Time

A time (no date), left justified, formatted to the current culture

Declaration
public const string Time = "time"
Field Value
Type Description
string

TimeSpan

A time span in days, hours, and minutes.

Declaration
public const string TimeSpan = "timespan"
Field Value
Type Description
string
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top