TdxSkinChooserGalleryItem.OnPopulate Event
Enables you to manually load skins from a custom storage.
Declaration
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
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;
See Also