Back to Devexpress

TdxRibbonSkinSelectorAddSkinEvent Type

vcl-dxskinchoosergallery-9384c9c8.md

latest1.6 KB
Original Source

TdxRibbonSkinSelectorAddSkinEvent Type

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

Declaration

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

Parameters

NameTypeDescription
SenderTObject

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

TdxRibbonSkinSelectorAddPaletteEvent Procedural Type

dxSkinChooserGallery Unit