Show: Delphi C++
Display Preferences

FMX.Types.TStyleBook

From XE3 API Documentation
Jump to: navigation, search

FMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TStyleBook

Delphi

TStyleBook = class(TFmxObject, IDesignStyleBook)

C++

class PASCALIMPLEMENTATION TStyleBook : public TFmxObject

Properties

Type Visibility Source Unit Parent
class public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

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.

See Also

Personal tools
Translations