if (!b.FindTarget ())
continue;
+ //group Bindings by target instanceq
List<Binding> bindings = null;
if (!resolved.TryGetValue (b.Target.Instance, out bindings)) {
bindings = new List<Binding> ();
return;
}
- List<Dictionary<string, string>> styling = new List<Dictionary<string, string>>();
+ List<Dictionary<string, object>> styling = new List<Dictionary<string, object>>();
//Search for a style mathing :
//1: Full class name, with full namespace
public Queue<LayoutingQueueItem> LayoutingQueue = new Queue<LayoutingQueueItem> ();
public Queue<GraphicObject> GraphicUpdateQueue = new Queue<GraphicObject>();
- public Dictionary<string, Dictionary<string, string>> Styling;
+ public Dictionary<string, Dictionary<string, object>> Styling;
public string Clipboard;
public static void RegisterForGraphicUpdate(GraphicObject g)
{
System.Globalization.CultureInfo savedCulture = Thread.CurrentThread.CurrentCulture;
Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
- Styling = new Dictionary<string, Dictionary<string, string>> ();
+ Styling = new Dictionary<string, Dictionary<string, object>> ();
//fetch styling info in this order, if member styling is alreadey referenced in previous
//assembly, it's ignored.
foreach (string tc in targetsClasses) {
if (!iface.Styling.ContainsKey (tc))
- iface.Styling [tc] = new Dictionary<string, string> ();
+ iface.Styling [tc] = new Dictionary<string, object> ();
else if (iface.Styling [tc].ContainsKey (currentProperty))
continue;
iface.Styling [tc] [currentProperty] = expression;