Skip to main content

TdxRibbonSkinSelectorAddSkinEvent Type

The procedural type for skin list population events in a Ribbon Skin Selector component.

Declaration

TdxRibbonSkinSelectorAddSkinEvent = procedure(Sender: TObject; const AArgs: TdxRibbonSkinSelectorAddSkinArgs) of object;

Parameters

Name Type Description
Sender TObject

The Ribbon Skin Selector component that raised the skin list population event.

You need to cast the Sender parameter value to the TdxRibbonSkinSelector class to access all public API members of the Ribbon Skin Selector component.

AArgs TdxRibbonSkinSelectorAddSkinArgs

Remarks

A skin list population event occurs every time a Ribbon Skin Selector is about to add a skin to the list of skins available for selection. You can assign False to the AAccepted parameter within a TdxRibbonSkinSelectorAddSkinEvent handler to exclude certain skins based on custom conditions.

Direct TdxRibbonSkinSelectorAddSkinEvent Type References

The TdxRibbonSkinSelector component’s OnAddSkin event references the TdxRibbonSkinSelectorAddSkinEvent procedural type.

See Also