'Support' wrote:
You can add this type as 'Panel' and change used SkinSection:
Code:
procedure TForm8.sSkinProvider1SkinItemEx(Item: TComponent; var CanBeAdded: Boolean; SkinParams: PacSkinParams);
begin
if Item is TdxLayoutControl then
SkinParams.SkinSection := 'TRANSPARENT';
end;
I hope your suggestion is only for a temporary solution. It will not work at design time.
A permanent solution may be found in overriding this function in cxLookAndFeelPainters:
Code:
function LayoutControlEmptyAreaColor: TColor; virtual;
or overriding this one:
Code:
procedure DrawLayoutControlBackground(ACanvas: TcxCanvas; const R: TRect); virtual;
I'm not sure which is best.
Thanks!