Skip to main content

LookUpColumnInfo.FormatString Property

Specifies the pattern used to format column values when the LookUpColumnInfo.FormatType is not set to FormatType.None.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
[DXCategory("Format")]
public string FormatString { get; set; }

Property Value

Type Default Description
String String.Empty

The pattern used to format column values.

Remarks

Use the FormatString property to specify the pattern to format column values when the LookUpColumnInfo.FormatType is not set to FormatType.None.

The LookUpColumnInfo.FormatType property specifies how the format string is interpreted.

Refer to the Format Specifiers topic for information on the format patterns available.

Note: after changing the format type, the FormatString is cleared. So you can only set FormatString after the format type is specified.

See Also