diff --git a/.gitmodules b/.gitmodules
index 057007f213..daef52a069 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -8,3 +8,6 @@
[submodule "src/Markup/Perspex.Markup.Xaml/OmniXAML"]
path = src/Markup/Perspex.Markup.Xaml/OmniXAML
url = https://github.com/Perspex/OmniXAML.git
+[submodule "src/Markup/Perspex.Markup.Xaml/glass"]
+ path = src/Markup/Perspex.Markup.Xaml/glass
+ url = https://github.com/SuperJMN/glass
diff --git a/Perspex.sln b/Perspex.sln
index 62c59b8aed..c081e1ed22 100644
--- a/Perspex.sln
+++ b/Perspex.sln
@@ -60,9 +60,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Perspex.Markup.Xaml", "src\Markup\Perspex.Markup.Xaml\Perspex.Markup.Xaml.csproj", "{3E53A01A-B331-47F3-B828-4A5717E77A24}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{9B9E3891-2366-4253-A952-D08BCEB71098}"
- ProjectSection(SolutionItems) = preProject
- samples\ControlCatalog\ControlCatalog.csproj = samples\ControlCatalog\ControlCatalog.csproj
- EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApplication", "samples\TestApplication\TestApplication.csproj", "{E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}"
ProjectSection(ProjectDependencies) = postProject
diff --git a/appveyor.yml b/appveyor.yml
index 1aee6bb2cf..2cb5bf6484 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -20,6 +20,7 @@ configuration:
- Release
after_test:
+- .\packages\JetBrains.dotMemoryUnit.2.1.20150828.125449\tools\dotMemoryUnit.exe -targetExecutable="%xunit20%\xunit.console.x86.exe" -returnTargetExitCode --"tests\Perspex.LeakTests\bin\Release\Perspex.LeakTests.dll"
- ps: nuget\build-appveyor.ps1
artifacts:
diff --git a/samples/BindingTest/MainWindow.xaml b/samples/BindingTest/MainWindow.xaml
index 94f420d5b3..9bd6a3e3a8 100644
--- a/samples/BindingTest/MainWindow.xaml
+++ b/samples/BindingTest/MainWindow.xaml
@@ -68,5 +68,14 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/BindingTest/ViewModels/MainWindowViewModel.cs b/samples/BindingTest/ViewModels/MainWindowViewModel.cs
index 6df695527a..114ddf5cbf 100644
--- a/samples/BindingTest/ViewModels/MainWindowViewModel.cs
+++ b/samples/BindingTest/ViewModels/MainWindowViewModel.cs
@@ -2,6 +2,7 @@
using System.Collections.ObjectModel;
using System.Linq;
using ReactiveUI;
+using System.Reactive.Linq;
namespace BindingTest.ViewModels
{
@@ -10,6 +11,7 @@ namespace BindingTest.ViewModels
private string _booleanString = "True";
private double _doubleValue = 5.0;
private string _stringValue = "Simple Binding";
+ private bool _booleanFlag = false;
public MainWindowViewModel()
{
@@ -28,6 +30,13 @@ namespace BindingTest.ViewModels
var r = new Random();
Items.Move(r.Next(Items.Count), 1);
});
+
+ StringValueCommand = ReactiveCommand.Create();
+ StringValueCommand.Subscribe(param =>
+ {
+ BooleanFlag = !BooleanFlag;
+ StringValue = param.ToString();
+ });
}
public ObservableCollection Items { get; }
@@ -51,5 +60,13 @@ namespace BindingTest.ViewModels
get { return _stringValue; }
set { this.RaiseAndSetIfChanged(ref _stringValue, value); }
}
+
+ public bool BooleanFlag
+ {
+ get { return _booleanFlag; }
+ set { this.RaiseAndSetIfChanged(ref _booleanFlag, value); }
+ }
+
+ public ReactiveCommand