DevExpress skins do not work

Can anyone make the devExpress parameter for their controls not work?

If I changed the bone_name for the control to Office 2010 Black, for example, it does nothing.

Thank.

+5
source share
1 answer

You need to register skins. Typically, when you launch an application, you use an extensive application shell.

See the article in the DevExpress online interface documentation .

Here is what I usually do:

DevExpress.UserSkins.BonusSkins.Register(); DevExpress.UserSkins.OfficeSkins.Register();

You will need to add links to DLE DevExpress Skin files. And after that you can just use the skin you need:

defaultLookAndFeel1.LookAndFeel.SetSkinStyle("Office 2010 Silver");

defaultLookAndFeel1 - , WinForm. . , Look and Feel.

Update: DevExpress . .

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

DevExpress.UserSkins.BonusSkins.Register();
DevExpress.Skins.SkinManager.EnableFormSkins();
DevExpress.Skins.SkinManager.EnableMdiFormSkins();
+10

All Articles