// *********************************************************************** // Assembly : Construction // Author : flythink // Created : 06-05-2020 // // Last Modified By : flythink // Last Modified On : 09-01-2020 // *********************************************************************** // // Copyright (c) jindongfang. All rights reserved. // // // *********************************************************************** namespace WellWorkDataUI { using DevExpress.LookAndFeel; using DevExpress.Skins; using System.Drawing; /// /// Class SkinHelper. /// public static class SkinHelper { /// /// The current foreground /// public static Color CurrentForeground = CurrentSkin.Colors["ControlText"]; /// /// Gets the current background. /// /// The current background. public static Color CurrentBackground => CurrentSkin.Colors["Control"]; private static Skin CurrentSkin => CommonSkins.GetSkin(UserLookAndFeel.Default.ActiveLookAndFeel); } }