示例#1
0
        private static void AddProperty(StyleSheetBuilderHelper helper, FontStyle style, string comment)
        {
            string fontStyle, fontWeight;

            ConverterUtils.GetFontStylePropertyValues(style, out fontStyle, out fontWeight);
            helper.AddProperty(ConverterUtils.k_FontStyle, fontStyle, comment);
            helper.AddProperty(ConverterUtils.k_FontWeight, fontWeight);
        }