[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Grids' (#lcl)

# TSaveOptions

Set type used to store TGridSaveOptions values.

## Declaration

Source position: grids.pas line 137

`type TSaveOptions = set of (`
`soDesign,` |  | Enables saving grid structure (col / row count and Options).
`soAttributes,` |  | Enables saving grid attributes (Font, Brush, TextStyle).
`soContent,` |  | Enables saving Grid content (Text in TStringGrid).
`soPosition` |  | Enables saving the Grid cursor and selection position.
`);`

## Description

TSaveOptions is a set type used to store zero or more values from the TGridSaveOptions enumeration.

When a TGridSaveOptions value is present in the set, it indicates that the option is enabled. This in turn causes the affected properties to be stored in the SaveContent method for the grid control.

TSaveOptions is the type used to implement the SaveOptions property in TCustomGrid.

## See also

TGridSaveOptions |  | Represents the save options available for LCL grid controls.
TCustomGrid.SaveOptions |  | Options which control the information saved and loaded for the grid control.
TCustomGrid.SaveContent |  | Saves design-time configuration, column and row settings, and data to the specified XML configuration file.