TStyleBook = class(TFmxObject, IDesignStyleBook)
class PASCALIMPLEMENTATION TStyleBook : public TFmxObject
TStyleBook stores a collection of styles for a form.
There are two ways to create and use a TStyleBook component:
- Drop a TStyleBook component from the Tool Palette and then set it to the value of the form's StyleBook property.
- Right-click a control on the form and choose either Edit Default Style or Edit Custom Style. This automatically creates a TStyleBook component, sets it to the form's StyleBook, and opens the Style Designer.
TStyleBook stores the style definition as text in the Resource property and can be loaded from a .style file. Double-clicking the TStyleBook component on the form opens the Style Designer.