Back to Devexpress

TdxRibbonSkinSelectorAddPaletteEvent Type

vcl-dxskinchoosergallery-46d1923c.md

latest1.7 KB
Original Source

TdxRibbonSkinSelectorAddPaletteEvent Type

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

Declaration

delphi
TdxRibbonSkinSelectorAddPaletteEvent = procedure(Sender: TObject; const AArgs: TdxRibbonSkinSelectorAddPaletteArgs) of object;

Parameters

NameTypeDescription
SenderTObject

The Ribbon Skin Selector component that raised the skin palette 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 | 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.

See Also

TdxRibbonSkinSelectorAddSkinEvent Procedural Type

dxSkinChooserGallery Unit