Exemplo n.º 1
0
 public override void ReportResourceKeys(IDesign design, List <string> KeyList)
 {
     if (Type != null)
     {
         if (Type == "Button")
         {
             string Key = ComponentButton.FormatStyleResourceKey(design.XamlName, Style);
             if (!KeyList.Contains(Key))
             {
                 KeyList.Add(Key);
             }
         }
     }
 }
Exemplo n.º 2
0
 public string GetStyleResourceKey(IGeneratorDesign design, string styleName)
 {
     return(ComponentButton.FormatStyleResourceKey(design.XamlName, styleName));
 }