FarsiLibrary.Win.Drawing.Office2003Colors.GetThemeType C# (CSharp) Method

GetThemeType() private method

private GetThemeType ( ) : XPThemeType
return XPThemeType
        private XPThemeType GetThemeType()
        {
            string themeName = VisualStyleInformation.ColorScheme.ToUpper();

            if (themeName == "NORMALCOLOR")
            {
                return XPThemeType.NormalColor;
            }

            if (themeName == "HOMESTEAD")
            {
                return XPThemeType.Homestead;
            }

            if (themeName == "METALLIC")
            {
                return XPThemeType.Metallic;
            }

            return XPThemeType.Unknown;
        }