Object Reference > TDBDropDown Properties > LayoutName Property (TDBDropDown) |
This property sets or returns the string (maximum length of 30 characters) containing the current layout name.
object.LayoutName = string
Read/Write at run time and design time.
Setting this property alone has no effect on the grid layout; the property value is used by the LoadLayout method of the grid.
At design time, if you first set the LayoutFileName property to a valid filename in which grid layouts are stored, you can then choose the LayoutName property from a drop-down list of layout names stored in the specified layout file.