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