modifié : Templates/CheckBox.goml
simply cancel binding for now
modifié : src/CompilerServices/CompilerServices.cs
<?xml version="1.0"?>
-
- <Label/>
+<HorizontalStack Background="{./Background}" Margin="1" Spacing="1" Height="{./HeightPolicy}" Width="{./WidthPolicy}">
+ <Image Margin="2" Width="14" Height="14" Path="#Crow.Images.Icons.checkbox.svg"
+ SvgSub="{./IsChecked}"/>
+ <Label Font="{./Font}" Text="{./Caption}" Height="{./HeightPolicy}" Width="{./WidthPolicy}"/>
+</HorizontalStack>
\ No newline at end of file
if (pi == null)
throw new Exception ("Member '" + reader.Name + "' not found in " + crowType.Name);
- CompilerServices.EmitSetValue (reader.il, pi, reader.Value);
+ if (reader.Value.StartsWith("{"))
+ Debug.WriteLine("Binding => " + pi.Name + ": " + reader.Value);
+ else
+ CompilerServices.EmitSetValue (reader.il, pi, reader.Value);
}
reader.MoveToElement ();