HeaderPane
Main
Hide
Share Link
Print

DataFormat Property, ColumnClass Class

Defines the format string used for the values of a data source shown in this column's cells.

Class: ColumnClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public string DataFormat { get; set; }
Public Property DataFormat As String

Value

A .NET format string such as "d", "C2" or "N0", or an empty string for the default format.

The default value is String.Empty.

Comments

Defines the format string used for the values of a data source shown in this column's cells.

Values that implement IFormattable are formatted with this string and the SftTree.DataFormatInfo property.

See Also ColumnClass Class | Classes | SftTree/NET 3.0