Vcl.ActnMan.TCustomActionManager.OnGetCommandPropertiesClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetCommandPropertiesClass: TGetCommandPropertiesClassEvent read FOnGetCommandPropertiesClass

C++

__property TGetCommandPropertiesClassEvent OnGetCommandPropertiesClass = {read=FOnGetCommandPropertiesClass, write=FOnGetCommandPropertiesClass};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionManager

Description

OnGetCommandPropertiesClass is the event triggered by a call to the GetCommandPropertiesClass function.

OnGetCommandPropertiesClass occurs when an action client's CommandStyle property is set to ensure that its CommandProperties property is not null. The CommandProperties property of an action client depends on its CommandStyle property.


GetCommandPropertiesClass receives a TActionClientItem (for which the CommandStyle property is being set) as parameter. The CommandStyle property is used in a ribbon application.

See Also