Example #1
0
 public static string AttachedDockProperty(IGeneratorLayoutElement element)
 {
     if (DockTargets.ContainsKey(element))
     {
         return($" DockPanel.Dock=\"{DockTargets[element]}\"");
     }
     else
     {
         return("");
     }
 }
Example #2
0
 public static string AttachedRowSpanProperty(IGeneratorLayoutElement element)
 {
     if (RowSpanTargets.ContainsKey(element))
     {
         return($" Grid.RowSpan=\"{RowSpanTargets[element]}\"");
     }
     else
     {
         return("");
     }
 }