Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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