API:Vcl.RibbonStyleActnCtrls.TRibbonStyleActionBars.GetControlClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetControlClass(ActionBar: TCustomActionBar; AnItem: TActionClientItem): TCustomActionControlClass; override;

C++

virtual Vcl::Actnman::TCustomActionControlClass __fastcall GetControlClass(Vcl::Actnman::TCustomActionBar* ActionBar, Vcl::Actnman::TActionClientItem* AnItem);

Properties

Type Visibility Source Unit Parent
function public
Vcl.RibbonStyleActnCtrls.pas
Vcl.RibbonStyleActnCtrls.hpp
Vcl.RibbonStyleActnCtrls TRibbonStyleActionBars

Description

Returns the metaclass of the control item on an action band.

Vcl.RibbonStyleActnCtrls.TRibbonStyleActionBars.GetControlClass inherits from Vcl.XPStyleActnCtrls.TXPStyleActionBars.GetControlClass. All content below this line refers to Vcl.XPStyleActnCtrls.TXPStyleActionBars.GetControlClass.

Returns the metaclass of the control item on an action band.

The GetControlClass method is used to return the metaclass of a control item in the action band, such as a button or a menu item.

See Also