Skip to main content
All docs
V25.1
  • 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 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