API:Vcl.RibbonStyleActnCtrls.TRibbonStyleActionBars.GetColorMapClass
Delphi
function GetColorMapClass(ActionBar: TCustomActionBar): TCustomColorMapClass; override;
C++
virtual Vcl::Actnman::TCustomColorMapClass __fastcall GetColorMapClass(Vcl::Actnman::TCustomActionBar* ActionBar);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.RibbonStyleActnCtrls.pas Vcl.RibbonStyleActnCtrls.hpp |
Vcl.RibbonStyleActnCtrls | TRibbonStyleActionBars |
Description
Returns the metaclass of the color map for an action band.
Vcl.RibbonStyleActnCtrls.TRibbonStyleActionBars.GetColorMapClass inherits from Vcl.XPStyleActnCtrls.TXPStyleActionBars.GetColorMapClass. All content below this line refers to Vcl.XPStyleActnCtrls.TXPStyleActionBars.GetColorMapClass.
Returns the metaclass of the color map for an action band.
Returns the TCustomActionBarColorMap metaclass, which is a color map associated with an action band. The value of GetColorMapClass is used to instantiate an XP-styled color map used when action bands are drawn.