From: jpbruyere Date: Wed, 25 May 2016 13:46:58 +0000 (+0200) Subject: debug bindings when new value is null X-Git-Tag: v0.4~61^2~3 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=c02ea44eb9010aee1f03fba4342730f338598356;p=jp%2Fcrow.git debug bindings when new value is null --- diff --git a/Templates/ComboBox.goml b/Templates/ComboBox.goml index aeedd97f..9a5addaf 100755 --- a/Templates/ComboBox.goml +++ b/Templates/ComboBox.goml @@ -21,7 +21,7 @@ Height="{../HeightPolicy}" Width="{../WidthPolicy}" HorizontalAlignment="Left" ValueChanged="../../../_scroller_ValueChanged"> - diff --git a/Tests/GLCrow.cs b/Tests/GLCrow.cs index 3064ad37..1ede0268 100644 --- a/Tests/GLCrow.cs +++ b/Tests/GLCrow.cs @@ -94,9 +94,17 @@ namespace Tests w.Run (30); } } - + public object data = "datas"; + public object Datas { + get { return data; } + } + void onSetDataToNull (object sender, MouseButtonEventArgs e) { + data = null; + NotifyValueChanged ("Datas", null); + } public override void OnLoad () { + //testFiles = new string [] { @"Interfaces/Divers/testBind0.crow" }; testFiles = new string [] { @"Interfaces/Divers/testCombobox.crow" }; testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/GraphicObject", "*.crow")).ToArray (); //testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/basicTests", "*.crow")).ToArray (); diff --git a/Tests/Interfaces/Divers/testBind0.crow b/Tests/Interfaces/Divers/testBind0.crow new file mode 100755 index 00000000..d8991c71 --- /dev/null +++ b/Tests/Interfaces/Divers/testBind0.crow @@ -0,0 +1,5 @@ + + + +