Esempio n. 1
0
        public override void ReportResourceKeys(IDesign design, List <string> KeyList, string styleName)
        {
            string Key = FormatToggleButtonStyleResourceKey(design.XamlName, styleName);

            if (!KeyList.Contains(Key))
            {
                KeyList.Add(Key);
            }

            Key = ComponentImage.FormatStyleResourceKey(design.XamlName, styleName);
            if (!KeyList.Contains(Key))
            {
                KeyList.Add(Key);
            }
        }
Esempio n. 2
0
 public string GetStyleResourceKey(IGeneratorDesign design, string styleName)
 {
     return(ComponentImage.FormatStyleResourceKey(design.XamlName, styleName));
 }