Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSkinChooserGalleryItem.OnPopulate Event

Enables you to manually load skins from a custom storage.

#Declaration

Delphi
property OnPopulate: TNotifyEvent read; write;

#Remarks

This event fires when a skin chooser gallery begins loading skins to the gallery in response to the PopulateGallery method call.

#Code Example: Load a Custom Skin from a SKINRES File

The following example demonstrates how to handle the OnPopulate event to manually load skins from a SKINRES file:

procedure TMyRibbonMainForm.dxSkinChooserGalleryItem1Populate(Sender: TObject);
begin
  dxSkinChooserGalleryItem1.AddSkinsFromFile('CustomOffice2010B.skinres');
end;

VCL Bars: User Skins

See Also