TdxRibbonSkinSelectorAddPaletteEvent Type
The procedural type for skin palette list population events in a Ribbon Skin Selector component.
Declaration
TdxRibbonSkinSelectorAddPaletteEvent = procedure(Sender: TObject; const AArgs: TdxRibbonSkinSelectorAddPaletteArgs) of object;
Parameters
Name | Type | Description |
---|---|---|
Sender | TObject | The Ribbon Skin Selector component that raised the skin palette population event. You need to cast the |
AArgs | TdxRibbonSkinSelectorAddPaletteArgs |
Remarks
A palette list population event occurs every time a Ribbon Skin Selector is about to add a palette to the list of palettes available for selection. You can assign False
to the AAccepted
parameter within a TdxRibbonSkinSelectorAddPaletteEvent
handler to exclude certain palettes for a skin based on custom conditions.
Direct TdxRibbonSkinSelectorAddPaletteEvent Type References
The TdxRibbonSkinSelector component’s OnAddPalette event references the TdxRibbonSkinSelectorAddPaletteEvent
procedural type.