FMX.Colors.TColorListBox.StyleLookup
Delphi
property StyleLookup: string read FStyleLookup write SetStyleLookup default 0;
C++
__property StyleLookup = {default=0};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Colors.pas FMX.Colors.hpp |
FMX.Colors | TColorListBox |
Description
Specifies the name of the resource object to which the current TStyledControl is linked.
FMX.Colors.TColorListBox.StyleLookup inherits from FMX.Controls.TStyledControl.StyleLookup. All content below this line refers to FMX.Controls.TStyledControl.StyleLookup.
Specifies the name of the resource object to which the current TStyledControl is linked.
StyleLookup becomes especially useful with the introduction of Metropolis UI styles. Metropolis UI styles contain lots of styles for buttons, panes, lists, and other control elements. Each control has the default style, but you can change this default style to any style accessible for the class of a control. The StyleLookup property can be used to specify such additional style. In the Object Inspector, you can select in the StyleLookup property the name of an additional style for the control -- like searchbuttontext
-- from the general style loaded into the TStyleBook or from the default style for the used platform. See StyleLookup Support for Metropolis UI Controls.
See Also
- StyleLookup Support for Metropolis UI Controls
- Mobile Tutorial: Using a Button Component with Different Styles (iOS and Android)
- Mobile Tutorial: Using Tab Components to Display Pages (iOS and Android)
- FMX.Controls.TStyledControl.ApplyStyle
- FMX.Controls.TStyledControl.NeedStyleLookup
- FMX.Controls.TStyledControl.FindStyleResource
- FMX.Controls.TStyledControl.FreeStyle
- FMX.Controls.TStyledControl.GetStyleObject
- FMX.Controls.TStyledControl.Painting
- FireMonkey Component Design