diff --git a/Perspex.sln b/Perspex.sln
index 3b97ab21cf..1dc7c56517 100644
--- a/Perspex.sln
+++ b/Perspex.sln
@@ -100,6 +100,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Perspex.Markup", "src\Marku
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Perspex.Markup.UnitTests", "tests\Perspex.Markup.UnitTests\Perspex.Markup.UnitTests.csproj", "{8EF392D5-1416-45AA-9956-7CBBC3229E8A}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BindingTest", "samples\BindingTest\BindingTest.csproj", "{08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}"
+EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
src\Shared\PlatformSupport\PlatformSupport.projitems*{e4d9629c-f168-4224-3f51-a5e482ffbc42}*SharedItemsImports = 13
@@ -247,6 +249,10 @@ Global
{8EF392D5-1416-45AA-9956-7CBBC3229E8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8EF392D5-1416-45AA-9956-7CBBC3229E8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8EF392D5-1416-45AA-9956-7CBBC3229E8A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -274,5 +280,6 @@ Global
{E4D9629C-F168-4224-3F51-A5E482FFBC42} = {A689DEF5-D50F-4975-8B72-124C9EB54066}
{6417E941-21BC-467B-A771-0DE389353CE6} = {8B6A8209-894F-4BA1-B880-965FD453982C}
{8EF392D5-1416-45AA-9956-7CBBC3229E8A} = {C5A00AC3-B34C-4564-9BDD-2DA473EF4D8B}
+ {08B3E6B9-1CD5-443C-9F61-6D49D1C5F162} = {9B9E3891-2366-4253-A952-D08BCEB71098}
EndGlobalSection
EndGlobal
diff --git a/samples/BindingTest/App.config b/samples/BindingTest/App.config
new file mode 100644
index 0000000000..8324aa6ff1
--- /dev/null
+++ b/samples/BindingTest/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/BindingTest/App.cs b/samples/BindingTest/App.cs
new file mode 100644
index 0000000000..df2ba5a586
--- /dev/null
+++ b/samples/BindingTest/App.cs
@@ -0,0 +1,31 @@
+using System;
+using Perspex;
+using Perspex.Controls;
+using Perspex.Diagnostics;
+using Perspex.Themes.Default;
+
+namespace BindingTest
+{
+ public class App : Application
+ {
+ public App()
+ {
+ RegisterServices();
+ InitializeSubsystems((int)Environment.OSVersion.Platform);
+ Styles = new DefaultTheme();
+ }
+
+ public static void AttachDevTools(Window window)
+ {
+ DevTools.Attach(window);
+ }
+
+ private static void Main()
+ {
+ var app = new App();
+ var window = new MainWindow();
+ window.Show();
+ app.Run(window);
+ }
+ }
+}
diff --git a/samples/BindingTest/BindingTest.csproj b/samples/BindingTest/BindingTest.csproj
new file mode 100644
index 0000000000..0e0925adb2
--- /dev/null
+++ b/samples/BindingTest/BindingTest.csproj
@@ -0,0 +1,142 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}
+ WinExe
+ Properties
+ BindingTest
+ BindingTest
+ v4.6
+ 512
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+ ..\..\packages\Splat.1.6.2\lib\Net45\Splat.dll
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MainWindow.paml
+
+
+
+
+
+
+
+ Designer
+ MSBuild:Compile
+
+
+
+
+
+ {3e53a01a-b331-47f3-b828-4a5717e77a24}
+ Perspex.Markup.Xaml
+
+
+ {6417e941-21bc-467b-a771-0de389353ce6}
+ Perspex.Markup
+
+
+ {d211e587-d8bc-45b9-95a4-f297c8fa5200}
+ Perspex.Animation
+
+
+ {799a7bb5-3c2c-48b6-85a7-406a12c420da}
+ Perspex.Application
+
+
+ {b09b78d8-9b26-48b0-9149-d64a2f120f3f}
+ Perspex.Base
+
+
+ {d2221c82-4a25-4583-9b43-d791e3f6820c}
+ Perspex.Controls
+
+
+ {7062ae20-5dcc-4442-9645-8195bdece63e}
+ Perspex.Diagnostics
+
+
+ {62024b2d-53eb-4638-b26b-85eeaa54866e}
+ Perspex.Input
+
+
+ {6b0ed19d-a08b-461c-a9d9-a9ee40b0c06b}
+ Perspex.Interactivity
+
+
+ {42472427-4774-4c81-8aff-9f27b8e31721}
+ Perspex.Layout
+
+
+ {6417b24e-49c2-4985-8db2-3ab9d898ec91}
+ Perspex.ReactiveUI
+
+
+ {eb582467-6abb-43a1-b052-e981ba910e3a}
+ Perspex.SceneGraph
+
+
+ {f1baa01a-f176-4c6a-b39d-5b40bb1b148f}
+ Perspex.Styling
+
+
+ {3e10a5fa-e8da-48b1-ad44-6a5b6cb7750f}
+ Perspex.Themes.Default
+
+
+ {3e908f67-5543-4879-a1dc-08eace79b3cd}
+ Perspex.Direct2D1
+
+
+ {811a76cf-1cf6-440f-963b-bbe31bd72a82}
+ Perspex.Win32
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/BindingTest/MainWindow.paml b/samples/BindingTest/MainWindow.paml
new file mode 100644
index 0000000000..2c7b0681d1
--- /dev/null
+++ b/samples/BindingTest/MainWindow.paml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/BindingTest/MainWindow.paml.cs b/samples/BindingTest/MainWindow.paml.cs
new file mode 100644
index 0000000000..a8e64485cb
--- /dev/null
+++ b/samples/BindingTest/MainWindow.paml.cs
@@ -0,0 +1,21 @@
+using BindingTest.ViewModels;
+using Perspex.Controls;
+using Perspex.Markup.Xaml;
+
+namespace BindingTest
+{
+ public class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ this.InitializeComponent();
+ this.DataContext = new MainWindowViewModel();
+ App.AttachDevTools(this);
+ }
+
+ private void InitializeComponent()
+ {
+ PerspexXamlLoader.Load(this);
+ }
+ }
+}
diff --git a/samples/BindingTest/Properties/AssemblyInfo.cs b/samples/BindingTest/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000000..648b1cb406
--- /dev/null
+++ b/samples/BindingTest/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("BindingTest")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("BindingTest")]
+[assembly: AssemblyCopyright("Copyright © 2015")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("08b3e6b9-1cd5-443c-9f61-6d49d1c5f162")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/samples/BindingTest/ViewModels/MainWindowViewModel.cs b/samples/BindingTest/ViewModels/MainWindowViewModel.cs
new file mode 100644
index 0000000000..e8ba113eb8
--- /dev/null
+++ b/samples/BindingTest/ViewModels/MainWindowViewModel.cs
@@ -0,0 +1,15 @@
+using ReactiveUI;
+
+namespace BindingTest.ViewModels
+{
+ public class MainWindowViewModel : ReactiveObject
+ {
+ private string _simpleBinding = "Simple Binding";
+
+ public string SimpleBinding
+ {
+ get { return _simpleBinding; }
+ set { this.RaiseAndSetIfChanged(ref _simpleBinding, value); }
+ }
+ }
+}
diff --git a/samples/BindingTest/packages.config b/samples/BindingTest/packages.config
new file mode 100644
index 0000000000..85a1a3cdc5
--- /dev/null
+++ b/samples/BindingTest/packages.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file