diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-18 10:53:30 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-18 10:53:30 +0100 |
| commit | 2fe8a2c781c270279e7bf579b76fddc3d7fc8cbe (patch) | |
| tree | 1a3c2b62e5df15445333ea5eb0c1d2f94d75a5b5 /Tests | |
| parent | 632bd63db115383da4216ee31ff0e9d39081e87b (diff) | |
mouse event revamping, fit measure unit change from Pixels to Percent
Diffstat (limited to 'Tests')
| -rw-r--r-- | Tests/BasicTests.cs | 6 | ||||
| -rwxr-xr-x | Tests/Interfaces/Divers/0.crow | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 9327a112..3bfd16e8 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -99,10 +99,10 @@ namespace Tests } get { return List2; } } - IList<Color> testList = Color.ColorDic.Values.OrderBy(c=>c.Hue) - .ThenBy(c=>c.Value).ThenBy(c=>c.Saturation) + List<Color> testList = Color.ColorDic.Values//.OrderBy(c=>c.Hue) + //.ThenBy(c=>c.Value).ThenBy(c=>c.Saturation) .ToList(); - public IList<Color> TestList { + public List<Color> TestList { set{ testList = value; NotifyValueChanged ("TestList", testList); diff --git a/Tests/Interfaces/Divers/0.crow b/Tests/Interfaces/Divers/0.crow index 42900792..055b037e 100755 --- a/Tests/Interfaces/Divers/0.crow +++ b/Tests/Interfaces/Divers/0.crow @@ -58,11 +58,15 @@ MouseEnter="{Foreground=White}" MouseLeave="{Foreground=DimGray}" MouseDown="{Background=DarkRed}" + MouseClick="{Foreground=Green}" + MouseDoubleClick="{Foreground=Yellow}" MouseUp="{Background=Onyx}"/> <Label Text="MouseEvents" Width="50%" Margin="3" Background="Onyx" Foreground="DimGray" TextAlignment="Center" + MouseClick="{Foreground=Green}" + MouseDoubleClick="{Foreground=Yellow}" MouseEnter="{Foreground=White}" MouseLeave="{Foreground=DimGray}" MouseDown="{Background=Mantis}" |