vcl-dxskinchoosergallery-9384c9c8.md
The procedural type for skin list population events in a Ribbon Skin Selector component.
TdxRibbonSkinSelectorAddSkinEvent = procedure(Sender: TObject; const AArgs: TdxRibbonSkinSelectorAddSkinArgs) of object;
| 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 | |
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.
The TdxRibbonSkinSelector component’s OnAddSkin event references the TdxRibbonSkinSelectorAddSkinEvent procedural type.
See Also