Example #1
0
        protected internal static string calculatedClientStyleName(CalloutThemeName Theme, CalloutIconStyle IconStyle)
        {
            if (Theme != CalloutThemeName.Peanut)
                return Theme.ToString().ToLower();

            if (IconStyle == CalloutIconStyle.None)
                return "peanut_talkbubble";

            return "peanut_" + IconStyle.ToString().ToLower();
        }