This documentation is archived and is not being maintained.

Format String Dialog Box

Enables you to construct a string used to format data displayed in places such as a ListBox control or a DataGridView cell. In this dialog box, you can choose from a list of standard format types and specify additional details as necessary.

Format type

Sets the basic kind of formatting required, such as date or currency format.

Null value

Indicates a string to display when the value is a null reference (Nothing in Visual Basic) or DBNull.Value.

Decimal places

For number formats, sets the number of digits displayed after the decimal sign.

Type

For the Date Time format type, indicates how the information will be presented.

Custom format

Sets the format string manually.

Show: