diff --git a/Avalonia.sln b/Avalonia.sln
index db23458673..a6fdcbd421 100644
--- a/Avalonia.sln
+++ b/Avalonia.sln
@@ -63,22 +63,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Markup.Xaml", "src
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{9B9E3891-2366-4253-A952-D08BCEB71098}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApplication", "samples\TestApplication\TestApplication.csproj", "{E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}"
- ProjectSection(ProjectDependencies) = postProject
- {3E908F67-5543-4879-A1DC-08EACE79B3CD} = {3E908F67-5543-4879-A1DC-08EACE79B3CD}
- {FB05AC90-89BA-4F2F-A924-F37875FB547C} = {FB05AC90-89BA-4F2F-A924-F37875FB547C}
- {811A76CF-1CF6-440F-963B-BBE31BD72A82} = {811A76CF-1CF6-440F-963B-BBE31BD72A82}
- {54F237D5-A70A-4752-9656-0C70B1A7B047} = {54F237D5-A70A-4752-9656-0C70B1A7B047}
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamlTestApplication", "samples\XamlTestApplication\XamlTestApplication.csproj", "{78CAFE33-DBEB-4132-8A28-81CFE8A4933C}"
- ProjectSection(ProjectDependencies) = postProject
- {3E908F67-5543-4879-A1DC-08EACE79B3CD} = {3E908F67-5543-4879-A1DC-08EACE79B3CD}
- {FB05AC90-89BA-4F2F-A924-F37875FB547C} = {FB05AC90-89BA-4F2F-A924-F37875FB547C}
- {811A76CF-1CF6-440F-963B-BBE31BD72A82} = {811A76CF-1CF6-440F-963B-BBE31BD72A82}
- {54F237D5-A70A-4752-9656-0C70B1A7B047} = {54F237D5-A70A-4752-9656-0C70B1A7B047}
- EndProjectSection
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{A689DEF5-D50F-4975-8B72-124C9EB54066}"
ProjectSection(SolutionItems) = preProject
src\Shared\SharedAssemblyInfo.cs = src\Shared\SharedAssemblyInfo.cs
@@ -105,8 +89,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BindingTest", "samples\Bind
{B61B66A3-B82D-4875-8001-89D3394FE0C9} = {B61B66A3-B82D-4875-8001-89D3394FE0C9}
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamlTestApplicationPcl", "samples\XamlTestApplicationPcl\XamlTestApplicationPcl.csproj", "{EA113F1A-D8D7-4142-9948-353270E7EBAE}"
-EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RenderHelpers", "src\Shared\RenderHelpers\RenderHelpers.shproj", "{3C4C0CB4-0C0F-4450-A37B-148C84FF905F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Skia", "Skia", "{3743B0F2-CC41-4F14-A8C8-267F579BF91E}"
@@ -123,8 +105,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Skia.iOS.TestApp",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Skia.iOS", "src\Skia\Avalonia.Skia.iOS\Avalonia.Skia.iOS.csproj", "{47BE08A7-5985-410B-9FFC-2264B8EA595F}"
EndProject
-Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TestApplicationShared", "samples\TestApplicationShared\TestApplicationShared.shproj", "{78345174-5B52-4A14-B9FD-D5F2428137F0}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Android", "Android", "{7CF9789C-F1D3-4D0E-90E5-F1DF67A2753F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Android", "src\Android\Avalonia.Android\Avalonia.Android.csproj", "{7B92AF71-6287-4693-9DCB-BD5B6E927E23}"
@@ -185,9 +165,7 @@ Global
src\Skia\Avalonia.Skia\Avalonia.Skia.projitems*{47be08a7-5985-410b-9ffc-2264b8ea595f}*SharedItemsImports = 4
tests\Avalonia.RenderTests\Avalonia.RenderTests.projitems*{48840edd-24bf-495d-911e-2eb12ae75d3b}*SharedItemsImports = 13
src\Shared\PlatformSupport\PlatformSupport.projitems*{4a1abb09-9047-4bd5-a4ad-a055e52c5ee0}*SharedItemsImports = 4
- samples\TestApplicationShared\TestApplicationShared.projitems*{78345174-5b52-4a14-b9fd-d5f2428137f0}*SharedItemsImports = 13
src\Shared\PlatformSupport\PlatformSupport.projitems*{7b92af71-6287-4693-9dcb-bd5b6e927e23}*SharedItemsImports = 4
- samples\TestApplicationShared\TestApplicationShared.projitems*{8c923867-8a8f-4f6b-8b80-47d9e8436166}*SharedItemsImports = 4
src\Shared\RenderHelpers\RenderHelpers.projitems*{925dd807-b651-475f-9f7c-cbeb974ce43d}*SharedItemsImports = 4
src\Skia\Avalonia.Skia\Avalonia.Skia.projitems*{925dd807-b651-475f-9f7c-cbeb974ce43d}*SharedItemsImports = 4
src\Shared\RenderHelpers\RenderHelpers.projitems*{bd43f7c0-396b-4aa1-bad9-dfde54d51298}*SharedItemsImports = 4
@@ -195,7 +173,6 @@ Global
tests\Avalonia.RenderTests\Avalonia.RenderTests.projitems*{d35a9f3d-8bb0-496e-bf72-444038a7debb}*SharedItemsImports = 4
tests\Avalonia.RenderTests\Avalonia.RenderTests.projitems*{dabfd304-d6a4-4752-8123-c2ccf7ac7831}*SharedItemsImports = 4
tests\Avalonia.RenderTests\Avalonia.RenderTests.projitems*{e106cf37-4066-4615-b684-172a6d30b058}*SharedItemsImports = 4
- samples\TestApplicationShared\TestApplicationShared.projitems*{e3a1060b-50d0-44e8-88b6-f44ef2e5bd72}*SharedItemsImports = 4
src\Shared\PlatformSupport\PlatformSupport.projitems*{e4d9629c-f168-4224-3f51-a5e482ffbc42}*SharedItemsImports = 13
src\Shared\RenderHelpers\RenderHelpers.projitems*{fb05ac90-89ba-4f2f-a924-f37875fb547c}*SharedItemsImports = 4
EndGlobalSection
@@ -1158,79 +1135,6 @@ Global
{3E53A01A-B331-47F3-B828-4A5717E77A24}.Release|Mono.Build.0 = Release|Any CPU
{3E53A01A-B331-47F3-B828-4A5717E77A24}.Release|x86.ActiveCfg = Release|Any CPU
{3E53A01A-B331-47F3-B828-4A5717E77A24}.Release|x86.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|Mono.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|Any CPU.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|iPhone.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|iPhone.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|Mono.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|x86.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.AppStore|x86.Build.0 = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|iPhone.Build.0 = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|Mono.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|x86.ActiveCfg = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Debug|x86.Build.0 = Debug|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|Any CPU.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|iPhone.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|iPhone.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|Mono.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|x86.ActiveCfg = Release|Any CPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}.Release|x86.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|Mono.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|Any CPU.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|iPhone.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|iPhone.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|Mono.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|x86.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.AppStore|x86.Build.0 = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|iPhone.Build.0 = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|Mono.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|x86.ActiveCfg = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Debug|x86.Build.0 = Debug|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|Any CPU.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|iPhone.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|iPhone.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|Mono.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|x86.ActiveCfg = Release|Any CPU
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C}.Release|x86.Build.0 = Release|Any CPU
{54F237D5-A70A-4752-9656-0C70B1A7B047}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{54F237D5-A70A-4752-9656-0C70B1A7B047}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{54F237D5-A70A-4752-9656-0C70B1A7B047}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
@@ -1497,42 +1401,6 @@ Global
{08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}.Release|Mono.Build.0 = Release|Any CPU
{08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}.Release|x86.ActiveCfg = Release|Any CPU
{08B3E6B9-1CD5-443C-9F61-6D49D1C5F162}.Release|x86.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|Mono.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|Any CPU.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|iPhone.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|iPhone.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|Mono.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|x86.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.AppStore|x86.Build.0 = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|iPhone.Build.0 = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|Mono.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|x86.ActiveCfg = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Debug|x86.Build.0 = Debug|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|Any CPU.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|iPhone.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|iPhone.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|Mono.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|x86.ActiveCfg = Release|Any CPU
- {EA113F1A-D8D7-4142-9948-353270E7EBAE}.Release|x86.Build.0 = Release|Any CPU
{925DD807-B651-475F-9F7C-CBEB974CE43D}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{925DD807-B651-475F-9F7C-CBEB974CE43D}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{925DD807-B651-475F-9F7C-CBEB974CE43D}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
@@ -2481,15 +2349,12 @@ Global
{E106CF37-4066-4615-B684-172A6D30B058} = {C5A00AC3-B34C-4564-9BDD-2DA473EF4D8B}
{99135EAB-653D-47E4-A378-C96E1278CA44} = {C5A00AC3-B34C-4564-9BDD-2DA473EF4D8B}
{3E53A01A-B331-47F3-B828-4A5717E77A24} = {8B6A8209-894F-4BA1-B880-965FD453982C}
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72} = {9B9E3891-2366-4253-A952-D08BCEB71098}
- {78CAFE33-DBEB-4132-8A28-81CFE8A4933C} = {9B9E3891-2366-4253-A952-D08BCEB71098}
{54F237D5-A70A-4752-9656-0C70B1A7B047} = {B9894058-278A-46B5-B6ED-AD613FCC03B3}
{FB05AC90-89BA-4F2F-A924-F37875FB547C} = {B9894058-278A-46B5-B6ED-AD613FCC03B3}
{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}
- {EA113F1A-D8D7-4142-9948-353270E7EBAE} = {9B9E3891-2366-4253-A952-D08BCEB71098}
{3C4C0CB4-0C0F-4450-A37B-148C84FF905F} = {A689DEF5-D50F-4975-8B72-124C9EB54066}
{2F59F3D0-748D-4652-B01E-E0D954756308} = {3743B0F2-CC41-4F14-A8C8-267F579BF91E}
{925DD807-B651-475F-9F7C-CBEB974CE43D} = {3743B0F2-CC41-4F14-A8C8-267F579BF91E}
@@ -2497,7 +2362,6 @@ Global
{F92E55A5-ED73-4CCB-AB4B-0541B6757F31} = {3743B0F2-CC41-4F14-A8C8-267F579BF91E}
{DA49C5F3-BE95-461C-B999-072128CCF59E} = {3743B0F2-CC41-4F14-A8C8-267F579BF91E}
{47BE08A7-5985-410B-9FFC-2264B8EA595F} = {3743B0F2-CC41-4F14-A8C8-267F579BF91E}
- {78345174-5B52-4A14-B9FD-D5F2428137F0} = {9B9E3891-2366-4253-A952-D08BCEB71098}
{7B92AF71-6287-4693-9DCB-BD5B6E927E23} = {7CF9789C-F1D3-4D0E-90E5-F1DF67A2753F}
{FF69B927-C545-49AE-8E16-3D14D621AA12} = {7CF9789C-F1D3-4D0E-90E5-F1DF67A2753F}
{4488AD85-1495-4809-9AA4-DDFE0A48527E} = {0CB0B92E-6CFF-4240-80A5-CCAFE75D91E1}
diff --git a/samples/TestApplication/App.config b/samples/TestApplication/App.config
deleted file mode 100644
index 2c29a77dc3..0000000000
--- a/samples/TestApplication/App.config
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/TestApplication/Program.cs b/samples/TestApplication/Program.cs
deleted file mode 100644
index 9e331c8634..0000000000
--- a/samples/TestApplication/Program.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) The Avalonia Project. All rights reserved.
-// Licensed under the MIT license. See licence.md file in the project root for full license information.
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Reactive.Linq;
-using Avalonia;
-using Avalonia.Animation;
-using Avalonia.Collections;
-using Avalonia.Controls;
-using Avalonia.Controls.Html;
-using Avalonia.Controls.Primitives;
-using Avalonia.Controls.Shapes;
-using Avalonia.Controls.Templates;
-using Avalonia.Diagnostics;
-using Avalonia.Layout;
-using Avalonia.Media;
-using Avalonia.Media.Imaging;
-#if AVALONIA_GTK
-using Avalonia.Gtk;
-#endif
-using ReactiveUI;
-
-namespace TestApplication
-{
- internal class Program
- {
- private static void Main(string[] args)
- {
- // The version of ReactiveUI currently included is for WPF and so expects a WPF
- // dispatcher. This makes sure it's initialized.
- System.Windows.Threading.Dispatcher foo = System.Windows.Threading.Dispatcher.CurrentDispatcher;
-
- var app = new App();
-
- AppBuilder.Configure(app)
- .UsePlatformDetect()
- .SetupWithoutStarting();
-
- app.Run();
- }
- }
-}
diff --git a/samples/TestApplication/Properties/AssemblyInfo.cs b/samples/TestApplication/Properties/AssemblyInfo.cs
deleted file mode 100644
index 2ef5d00865..0000000000
--- a/samples/TestApplication/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) The Avalonia Project. All rights reserved.
-// Licensed under the MIT license. See licence.md file in the project root for full license information.
-
-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("TestApplication")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TestApplication")]
-[assembly: AssemblyCopyright("Copyright \u00A9 2013")]
-[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("f8dad012-f4ec-4b63-b64f-320901338290")]
-
-// 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/TestApplication/TestApplication.csproj b/samples/TestApplication/TestApplication.csproj
deleted file mode 100644
index 691c4ea5bb..0000000000
--- a/samples/TestApplication/TestApplication.csproj
+++ /dev/null
@@ -1,177 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}
- WinExe
- Properties
- TestApplication
- TestApplication
- v4.5
- 512
-
-
-
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- TRACE;DEBUG
- prompt
- 4
- true
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
- ..\..\packages\Serilog.1.5.14\lib\net45\Serilog.dll
- True
-
-
- ..\..\packages\Serilog.1.5.14\lib\net45\Serilog.FullNetFx.dll
- True
-
-
-
-
-
- ..\..\packages\System.Reactive.Core.3.0.0\lib\net45\System.Reactive.Core.dll
- True
-
-
- ..\..\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll
- True
-
-
- ..\..\packages\System.Reactive.Linq.3.0.0\lib\net45\System.Reactive.Linq.dll
- True
-
-
- ..\..\packages\System.Reactive.PlatformServices.3.0.0\lib\net45\System.Reactive.PlatformServices.dll
- True
-
-
- ..\..\packages\System.Reactive.Windows.Threading.3.0.0\lib\net45\System.Reactive.Windows.Threading.dll
- True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {4A1ABB09-9047-4BD5-A4AD-A055E52C5EE0}
- Avalonia.DotNetFrameworkRuntime
-
-
- {FB05AC90-89BA-4F2F-A924-F37875FB547C}
- Avalonia.Cairo
-
-
- {54f237d5-a70a-4752-9656-0c70b1a7b047}
- Avalonia.Gtk
-
-
- {3e53a01a-b331-47f3-b828-4a5717e77a24}
- Avalonia.Markup.Xaml
-
-
- {6417e941-21bc-467b-a771-0de389353ce6}
- Avalonia.Markup
-
-
- {D211E587-D8BC-45B9-95A4-F297C8FA5200}
- Avalonia.Animation
-
-
- {B09B78D8-9B26-48B0-9149-D64A2F120F3F}
- Avalonia.Base
-
-
- {D2221C82-4A25-4583-9B43-D791E3F6820C}
- Avalonia.Controls
-
-
- {799a7bb5-3c2c-48b6-85a7-406a12c420da}
- Avalonia.DesignerSupport
-
-
- {7062AE20-5DCC-4442-9645-8195BDECE63E}
- Avalonia.Diagnostics
-
-
- {5FB2B005-0A7F-4DAD-ADD4-3ED01444E63D}
- Avalonia.HtmlRenderer
-
-
- {62024B2D-53EB-4638-B26B-85EEAA54866E}
- Avalonia.Input
-
-
- {6B0ED19D-A08B-461C-A9D9-A9EE40B0C06B}
- Avalonia.Interactivity
-
-
- {42472427-4774-4C81-8AFF-9F27B8E31721}
- Avalonia.Layout
-
-
- {6417B24E-49C2-4985-8DB2-3AB9D898EC91}
- Avalonia.ReactiveUI
-
-
- {EB582467-6ABB-43A1-B052-E981BA910E3A}
- Avalonia.Visuals
-
-
- {F1BAA01A-F176-4C6A-B39D-5B40BB1B148F}
- Avalonia.Styling
-
-
- {3E10A5FA-E8DA-48B1-AD44-6A5B6CB7750F}
- Avalonia.Themes.Default
-
-
- {3E908F67-5543-4879-A1DC-08EACE79B3CD}
- Avalonia.Direct2D1
-
-
- {811A76CF-1CF6-440F-963B-BBE31BD72A82}
- Avalonia.Win32
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/TestApplication/TestApplication.v2.ncrunchproject b/samples/TestApplication/TestApplication.v2.ncrunchproject
deleted file mode 100644
index f744eecae0..0000000000
--- a/samples/TestApplication/TestApplication.v2.ncrunchproject
+++ /dev/null
@@ -1,26 +0,0 @@
-
- true
- 1000
- false
- false
- false
- true
- false
- false
- true
- false
- false
- true
- true
- false
- true
- true
- true
- 60000
-
-
-
- AutoDetect
- STA
- x86
-
\ No newline at end of file
diff --git a/samples/TestApplication/packages.config b/samples/TestApplication/packages.config
deleted file mode 100644
index 3c79dde8c3..0000000000
--- a/samples/TestApplication/packages.config
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/TestApplicationShared/App.cs b/samples/TestApplicationShared/App.cs
deleted file mode 100644
index 757ecc72bb..0000000000
--- a/samples/TestApplicationShared/App.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) The Avalonia Project. All rights reserved.
-// Licensed under the MIT license. See licence.md file in the project root for full license information.
-
-using System;
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Controls.Templates;
-using Avalonia.Markup.Xaml;
-using Avalonia.Styling;
-using Avalonia.Themes.Default;
-using Avalonia.Diagnostics;
-using Avalonia.Platform;
-using Avalonia.Shared.PlatformSupport;
-using Avalonia.Media;
-
-namespace TestApplication
-{
- public class App : Application
- {
- public void Run()
- {
- Styles.Add(new DefaultTheme());
-
- var loader = new AvaloniaXamlLoader();
- var baseLight = (IStyle)loader.Load(
- new Uri("resm:Avalonia.Themes.Default.Accents.BaseLight.xaml?assembly=Avalonia.Themes.Default"));
- Styles.Add(baseLight);
-
- Styles.Add(new SampleTabStyle());
- DataTemplates = new DataTemplates
- {
- new FuncTreeDataTemplate(
- x => new TextBlock {Text = x.Name},
- x => x.Children),
- };
-
- MainWindow.RootNamespace = "TestApplication";
- var wnd = MainWindow.Create();
- wnd.AttachDevTools();
-
- Run(wnd);
- }
-
- // This provides a simple UI tree for testing input handling, drawing, etc
- public static Window CreateSimpleWindow()
- {
- Window window = new Window
- {
- Title = "Avalonia Test Application",
- Background = Brushes.Red,
- Content = new StackPanel
- {
- Margin = new Thickness(30),
- Background = Brushes.Yellow,
- Children = new Controls
- {
- new TextBlock
- {
- Text = "TEXT BLOCK",
- Width = 300,
- Height = 40,
- Background = Brushes.White,
- Foreground = Brushes.Black
- },
-
- new Button
- {
- Content = "BUTTON",
- Width = 150,
- Height = 40,
- Background = Brushes.LightGreen,
- Foreground = Brushes.Black
- }
-
- }
- }
- };
-
- return window;
- }
-
- }
-}
diff --git a/samples/TestApplicationShared/GalleryStyle.cs b/samples/TestApplicationShared/GalleryStyle.cs
deleted file mode 100644
index 454470fea7..0000000000
--- a/samples/TestApplicationShared/GalleryStyle.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-using Avalonia;
-using Avalonia.Controls;
-using Avalonia.Controls.Presenters;
-using Avalonia.Controls.Primitives;
-using Avalonia.Controls.Templates;
-using Avalonia.Media;
-using Avalonia.Styling;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace TestApplication
-{
- internal class SampleTabStyle : Styles
- {
- public SampleTabStyle()
- {
- this.AddRange(new[]
- {
- new Style (s => s.Class("container").OfType ())
- {
- Setters = new[]
- {
- new Setter (TemplatedControl.TemplateProperty, new FuncControlTemplate(TabControlTemplate))
- }
- },
-
- new Style(s => s.Class("container").OfType().Child().Child().Child().Child().Child().OfType())
- {
- Setters = new[]
- {
- new Setter (TemplatedControl.TemplateProperty, new FuncControlTemplate(TabStripItemTemplate)),
- }
- },
-
- new Style(s => s.Name("PART_TabStrip").OfType().Child().OfType())
- {
- Setters = new[]
- {
- new Setter(TemplatedControl.FontSizeProperty, 14.0),
- new Setter(TemplatedControl.ForegroundProperty, Brushes.White)
- }
- },
-
- new Style(s => s.Name("PART_TabStrip").OfType().Child().OfType().Class(":selected"))
- {
- Setters = new[]
- {
- new Setter(TemplatedControl.ForegroundProperty, Brushes.White),
- new Setter(TemplatedControl.BackgroundProperty, new SolidColorBrush(Colors.White, 0.1)),
- },
- },
- });
- }
-
- public static Control TabStripItemTemplate(TabStripItem control)
- {
- return new ContentPresenter
- {
- DataTemplates = new DataTemplates
- {
- new FuncDataTemplate(x => new Border
- {
- [~Border.BackgroundProperty] = control[~TemplatedControl.BackgroundProperty],
- Padding = new Thickness(10),
- Child = new TextBlock
- {
- VerticalAlignment = Avalonia.Layout.VerticalAlignment.Center,
- Text = x
- }
- })
- },
- Name = "PART_ContentPresenter",
- [~ContentPresenter.ContentProperty] = control[~ContentControl.ContentProperty],
- };
- }
-
- public static Control TabControlTemplate(TabControl control)
- {
- return new Grid
- {
- ColumnDefinitions = new ColumnDefinitions
- {
- new ColumnDefinition(GridLength.Auto),
- new ColumnDefinition(new GridLength(1, GridUnitType.Star)),
- },
- Children = new Controls
- {
- new Border
- {
- Width = 190,
- Background = Brush.Parse("#1976D2"),
- Child = new ScrollViewer
- {
- Content = new TabStrip
- {
- Name = "PART_TabStrip",
- ItemsPanel = new FuncTemplate(() => new StackPanel { Orientation = Orientation.Vertical, Gap = 4 }),
- Margin = new Thickness(0, 10, 0, 0),
- MemberSelector = TabControl.HeaderSelector,
- [!ItemsControl.ItemsProperty] = control[!ItemsControl.ItemsProperty],
- [!!SelectingItemsControl.SelectedItemProperty] = control[!!SelectingItemsControl.SelectedItemProperty],
- }
- }
- },
- new Carousel
- {
- Name = "PART_Content",
- MemberSelector = TabControl.ContentSelector,
- [~Carousel.TransitionProperty] = control[~TabControl.TransitionProperty],
- [!Carousel.ItemsProperty] = control[!ItemsControl.ItemsProperty],
- [!Carousel.SelectedItemProperty] = control[!SelectingItemsControl.SelectedItemProperty],
- [Grid.ColumnProperty] = 1,
- }
- }
- };
- }
- }
-}
\ No newline at end of file
diff --git a/samples/TestApplicationShared/Item.cs b/samples/TestApplicationShared/Item.cs
deleted file mode 100644
index 314a2461f4..0000000000
--- a/samples/TestApplicationShared/Item.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace TestApplication
-{
- internal class Item
- {
- public string Name { get; set; }
- public string Value { get; set; }
- }
-}
diff --git a/samples/TestApplicationShared/MainWindow.cs b/samples/TestApplicationShared/MainWindow.cs
deleted file mode 100644
index 0314b68e20..0000000000
--- a/samples/TestApplicationShared/MainWindow.cs
+++ /dev/null
@@ -1,902 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Reactive.Linq;
-using System.Text;
-using Avalonia;
-using Avalonia.Animation;
-using Avalonia.Collections;
-using Avalonia.Controls;
-using Avalonia.Controls.Html;
-using Avalonia.Controls.Primitives;
-using Avalonia.Controls.Shapes;
-using Avalonia.Controls.Templates;
-using Avalonia.Data;
-using Avalonia.Diagnostics;
-using Avalonia.Layout;
-using Avalonia.Media;
-using Avalonia.Media.Imaging;
-using Avalonia.Platform;
-using Avalonia.Threading;
-using TestApplication;
-
-namespace TestApplication
-{
- class MainWindow
- {
- private static readonly AvaloniaList s_treeData = new AvaloniaList
- {
- new Node
- {
- Name = "Root 1",
- Children = new AvaloniaList
- {
- new Node
- {
- Name = "Child 1",
- },
- new Node
- {
- Name = "Child 2",
- Children = new AvaloniaList
- {
- new Node
- {
- Name = "Grandchild 1",
- },
- new Node
- {
- Name = "Grandmaster Flash",
- },
- }
- },
- new Node
- {
- Name = "Child 3",
- },
- }
- },
- new Node
- {
- Name = "Root 2",
- },
- };
-
- private static readonly AvaloniaList s_listBoxData = new AvaloniaList
- {
- new Item { Name = "Item 1", Value = "Item 1 Value" },
- new Item { Name = "Item 2", Value = "Item 2 Value" },
- new Item { Name = "Item 3", Value = "Item 3 Value" },
- new Item { Name = "Item 4", Value = "Item 4 Value" },
- new Item { Name = "Item 5", Value = "Item 5 Value" },
- new Item { Name = "Item 6", Value = "Item 6 Value" },
- new Item { Name = "Item 7", Value = "Item 7 Value" },
- new Item { Name = "Item 8", Value = "Item 8 Value" },
- };
-
- public static Window Create()
- {
-
- TabControl container;
-
-
- Window window = new Window
- {
- Title = "Avalonia Test Application",
- //Width = 900,
- //Height = 480,
- Content = (container = new TabControl
- {
- Padding = new Thickness(5),
- Items = new[]
- {
- ButtonsTab(),
- TextTab(),
- HtmlTab(),
- ImagesTab(),
- ListsTab(),
- LayoutTab(),
- AnimationsTab(),
- },
- Transition = new CrossFade(TimeSpan.FromSeconds(0.25)),
- [Grid.RowProperty] = 1,
- [Grid.ColumnSpanProperty] = 2,
- })
-
- };
-
- container.Classes.Add("container");
-
- window.Show();
- return window;
- }
-
- private static TabItem ButtonsTab()
- {
- var result = new TabItem
- {
- Header = "Button",
- Content = new ScrollViewer()
- {
- CanScrollHorizontally = false,
- Content = new StackPanel
- {
- Margin = new Thickness(10),
- Orientation = Orientation.Vertical,
- Gap = 4,
- Children = new Controls
- {
- new TextBlock
- {
- Text = "Button",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A button control",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new Button
- {
- Width = 150,
- Content = "Button"
- },
- new Button
- {
- Width = 150,
- Content = "Disabled",
- IsEnabled = false,
- },
- new TextBlock
- {
- Margin = new Thickness(0, 40, 0, 0),
- Text = "ToggleButton",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A toggle button control",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new ToggleButton
- {
- Width = 150,
- IsChecked = true,
- Content = "On"
- },
- new ToggleButton
- {
- Width = 150,
- IsChecked = false,
- Content = "Off"
- },
- }
- }
- },
- };
-
-
- return result;
- }
-
- private static TabItem HtmlTab()
- {
- return new TabItem
- {
- Header = "Text",
- Content = new ScrollViewer()
- {
- CanScrollHorizontally = false,
- Content = new StackPanel()
- {
- Margin = new Thickness(10),
- Orientation = Orientation.Vertical,
- Gap = 4,
- Children = new Controls
- {
- new TextBlock
- {
- Text = "TextBlock",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A control for displaying text.",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new TextBlock
- {
- Text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.",
- FontSize = 11
- },
- new TextBlock
- {
- Text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.",
- FontSize = 11,
- FontWeight = FontWeight.Medium
- },
- new TextBlock
- {
- Text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.",
- FontSize = 11,
- FontWeight = FontWeight.Bold
- },
- new TextBlock
- {
- Text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.",
- FontSize = 11,
- FontStyle = FontStyle.Italic,
- },
- new TextBlock
- {
- Margin = new Thickness(0, 40, 0, 0),
- Text = "HtmlLabel",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A label capable of displaying HTML content",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new HtmlLabel
- {
- Background = Brush.Parse("#CCCCCC"),
- Padding = new Thickness(5),
- Text = @"
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis.
-
Header Level 2
-
-
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-
Aliquam tincidunt mauris eu risus.
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.
-
-
Header Level 3
-
-
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-
Aliquam tincidunt mauris eu risus.
-
"
- }
- }
- }
- }
- };
- }
-
- private static TabItem TextTab()
- {
- return new TabItem
- {
- Header = "Input",
- Content = new ScrollViewer()
- {
- Content = new StackPanel
- {
- Margin = new Thickness(10),
- Orientation = Orientation.Vertical,
- Gap = 4,
- Children = new Controls
- {
- new TextBlock
- {
- Text = "TextBox",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A text box control",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
-
- new TextBox { Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", Width = 200},
- new TextBox { Width = 200, Watermark="Watermark"},
- new TextBox { Width = 200, Watermark="Floating Watermark", UseFloatingWatermark = true },
- new TextBox { AcceptsReturn = true, TextWrapping = TextWrapping.Wrap, Width = 200, Height = 150, Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est." },
- new TextBlock
- {
- Margin = new Thickness(0, 40, 0, 0),
- Text = "CheckBox",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A check box control",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new CheckBox { IsChecked = true, Margin = new Thickness(0, 0, 0, 5), Content = "Checked" },
- new CheckBox { IsChecked = false, Content = "Unchecked" },
- new TextBlock
- {
- Margin = new Thickness(0, 40, 0, 0),
- Text = "RadioButton",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A radio button control",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new RadioButton { IsChecked = true, Content = "Option 1" },
- new RadioButton { IsChecked = false, Content = "Option 2" },
- new RadioButton { IsChecked = false, Content = "Option 3" },
- }
- }
- }
- };
- }
-
- public static string RootNamespace;
-
- static Stream GetImage(string path)
- {
- return AvaloniaLocator.Current.GetService().Open(new Uri("resm:" + RootNamespace + "." + path));
- }
-
- private static TabItem ListsTab()
- {
- return new TabItem
- {
- Header = "Lists",
- Content = new ScrollViewer()
- {
- CanScrollHorizontally = false,
- Content = new StackPanel
- {
- HorizontalAlignment = HorizontalAlignment.Left,
- Orientation = Orientation.Vertical,
- VerticalAlignment = VerticalAlignment.Top,
- Gap = 4,
- Margin = new Thickness(10),
- DataTemplates = new DataTemplates
- {
- new FuncDataTemplate(x =>
- new StackPanel
- {
- Gap = 4,
- Orientation = Orientation.Horizontal,
- Children = new Controls
- {
- new Image { Width = 50, Height = 50, Source = new Bitmap(GetImage("github_icon.png")) },
- new TextBlock { Text = x.Name, FontSize = 18 }
- }
- })
- },
- Children = new Controls
- {
- new TextBlock
- {
- Text = "ListBox",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A list box control.",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new ListBox
- {
- BorderThickness = 2,
- Items = s_listBoxData,
- Height = 300,
- Width = 300,
- },
- new TextBlock
- {
- Margin = new Thickness(0, 40, 0, 0),
- Text = "TreeView",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A tree view control.",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new TreeView
- {
- Name = "treeView",
- Items = s_treeData,
- Height = 300,
- BorderThickness = 2,
- Width = 300,
- }
- }
- },
- }
- };
- }
-
- private static TabItem ImagesTab()
- {
- var imageCarousel = new Carousel
- {
- Width = 400,
- Height = 400,
- Transition = new PageSlide(TimeSpan.FromSeconds(0.25)),
- Items = new[]
- {
- new Image { Source = new Bitmap(GetImage("github_icon.png")), Width = 400, Height = 400 },
- new Image { Source = new Bitmap(GetImage("pattern.jpg")), Width = 400, Height = 400 },
- }
- };
-
- var next = new Button
- {
- VerticalAlignment = VerticalAlignment.Center,
- Padding = new Thickness(20),
- Content = new Avalonia.Controls.Shapes.Path
- {
- Data = StreamGeometry.Parse("M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"),
- Fill = Brushes.Black
- }
- };
-
- var prev = new Button
- {
- VerticalAlignment = VerticalAlignment.Center,
- Padding = new Thickness(20),
- Content = new Avalonia.Controls.Shapes.Path
- {
- Data = StreamGeometry.Parse("M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"),
- Fill = Brushes.Black
- }
- };
-
- prev.Click += (s, e) =>
- {
- if (imageCarousel.SelectedIndex == 0)
- imageCarousel.SelectedIndex = 1;
- else
- imageCarousel.SelectedIndex--;
- };
-
- next.Click += (s, e) =>
- {
- if (imageCarousel.SelectedIndex == 1)
- imageCarousel.SelectedIndex = 0;
- else
- imageCarousel.SelectedIndex++;
- };
-
- return new TabItem
- {
- Header = "Images",
- Content = new ScrollViewer
- {
- Content = new StackPanel
- {
- HorizontalAlignment = HorizontalAlignment.Left,
- Orientation = Orientation.Vertical,
- VerticalAlignment = VerticalAlignment.Top,
- Gap = 4,
- Margin = new Thickness(10),
- Children = new Controls
- {
- new TextBlock
- {
- Text = "Carousel",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "An items control that displays its items as pages that fill the controls.",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new StackPanel
- {
- Name = "carouselVisual",
- Orientation = Orientation.Horizontal,
- Gap = 4,
- Children = new Controls
- {
- prev,
- imageCarousel,
- next
- }
- }
- }
- }
- }
- };
- }
-
- private static TabItem LayoutTab()
- {
- var polylinePoints = new Point[] { new Point(0, 0), new Point(5, 0), new Point(6, -2), new Point(7, 3), new Point(8, -3),
- new Point(9, 1), new Point(10, 0), new Point(15, 0) };
- var polygonPoints = new Point[] { new Point(5, 0), new Point(8, 8), new Point(0, 3), new Point(10, 3), new Point(2, 8) };
- for (int i = 0; i < polylinePoints.Length; i++)
- {
- polylinePoints[i] = polylinePoints[i] * 13;
- }
- for (int i = 0; i < polygonPoints.Length; i++)
- {
- polygonPoints[i] = polygonPoints[i] * 15;
- }
- return new TabItem
- {
- Header = "Layout",
- Content = new ScrollViewer
- {
- Content = new StackPanel
- {
- HorizontalAlignment = HorizontalAlignment.Left,
- Orientation = Orientation.Vertical,
- VerticalAlignment = VerticalAlignment.Top,
- Gap = 4,
- Margin = new Thickness(10),
- Children = new Controls
- {
- new TextBlock
- {
- Text = "Grid",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "Lays out child controls according to a grid.",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new Grid
- {
- Width = 600,
- ColumnDefinitions = new ColumnDefinitions
- {
- new ColumnDefinition(1, GridUnitType.Star),
- new ColumnDefinition(1, GridUnitType.Star),
- },
-
- RowDefinitions = new RowDefinitions
- {
- new RowDefinition(1, GridUnitType.Auto),
- new RowDefinition(1, GridUnitType.Auto)
- },
- Children = new Controls
- {
-
- new Rectangle
- {
- Fill = Brush.Parse("#FF5722"),
- [Grid.ColumnSpanProperty] = 2,
- Height = 200,
- Margin = new Thickness(2.5)
- },
- new Rectangle
- {
- Fill = Brush.Parse("#FF5722"),
- [Grid.RowProperty] = 1,
- Height = 100,
- Margin = new Thickness(2.5)
- },
- new Rectangle
- {
- Fill = Brush.Parse("#FF5722"),
- [Grid.RowProperty] = 1,
- [Grid.ColumnProperty] = 1,
- Height = 100,
- Margin = new Thickness(2.5)
- },
- },
- },
- new TextBlock
- {
- Margin = new Thickness(0, 40, 0, 0),
- Text = "StackPanel",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A panel which lays out its children horizontally or vertically.",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new StackPanel
- {
- Orientation = Orientation.Vertical,
- Gap = 4,
- Width = 300,
- Children = new Controls
- {
- new Rectangle
- {
- Fill = Brush.Parse("#FFC107"),
- Height = 50,
- },
- new Rectangle
- {
- Fill = Brush.Parse("#FFC107"),
- Height = 50,
- },
- new Rectangle
- {
- Fill = Brush.Parse("#FFC107"),
- Height = 50,
- },
- }
- },
- new TextBlock
- {
- Margin = new Thickness(0, 40, 0, 0),
- Text = "Canvas",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A panel which lays out its children by explicit coordinates.",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- new Canvas
- {
- Background = Brushes.Yellow,
- Width = 300,
- Height = 400,
- Children = new Controls
- {
- new Rectangle
- {
- Fill = Brushes.Blue,
- Width = 63,
- Height = 41,
- [Canvas.LeftProperty] = 40,
- [Canvas.TopProperty] = 31,
- },
- new Ellipse
- {
- Fill = Brushes.Green,
- Width = 58,
- Height = 58,
- [Canvas.LeftProperty] = 130,
- [Canvas.TopProperty] = 79,
- },
- new Line
- {
- Stroke = Brushes.Red,
- StrokeThickness = 2,
- StartPoint = new Point(120, 185),
- EndPoint = new Point(30, 115)
- },
- new Avalonia.Controls.Shapes.Path
- {
- Fill = Brushes.Orange,
- Data = StreamGeometry.Parse("M 30,250 c 50,0 50,-50 c 50,0 50,50 h -50 v 50 l -50,-50 Z"),
- },
- new Polygon
- {
- Stroke = Brushes.DarkBlue,
- Fill = Brushes.Violet,
- Points = polygonPoints,
- StrokeThickness = 1,
- [Canvas.LeftProperty] = 150,
- [Canvas.TopProperty] = 180,
- },
- new Polyline
- {
- Stroke = Brushes.Brown,
- Points = polylinePoints,
- StrokeThickness = 5,
- StrokeJoin = PenLineJoin.Round,
- StrokeStartLineCap = PenLineCap.Triangle,
- StrokeEndLineCap = PenLineCap.Triangle,
- [Canvas.LeftProperty] = 30,
- [Canvas.TopProperty] = 350,
- },
- }
- },
- }
- }
- }
- };
- }
-
- private static TabItem AnimationsTab()
- {
- Border border1;
- Border border2;
- RotateTransform rotate;
- Button button1;
-
- var result = new TabItem
- {
- Header = "Animations",
- Content = new StackPanel
- {
- Orientation = Orientation.Vertical,
- Gap = 4,
- Margin = new Thickness(10),
- Children = new Controls
- {
- new TextBlock
- {
- Text = "Animations",
- FontWeight = FontWeight.Medium,
- FontSize = 20,
- Foreground = Brush.Parse("#212121"),
- },
- new TextBlock
- {
- Text = "A few animations showcased below",
- FontSize = 13,
- Foreground = Brush.Parse("#727272"),
- Margin = new Thickness(0, 0, 0, 10)
- },
- (button1 = new Button
- {
- Content = "Animate",
- Width = 120,
- [Grid.ColumnProperty] = 1,
- [Grid.RowProperty] = 1,
- }),
- new Canvas
- {
- ClipToBounds = false,
- Children = new Controls
- {
- (border1 = new Border
- {
- Width = 100,
- Height = 100,
- HorizontalAlignment = HorizontalAlignment.Center,
- VerticalAlignment = VerticalAlignment.Center,
- Background = Brushes.Crimson,
- RenderTransform = new RotateTransform(),
- Child = new Grid
- {
- Children = new Controls
- {
- new Ellipse()
- {
- Width = 100,
- Height = 100,
- Fill =
- new RadialGradientBrush()
- {
- GradientStops =
- {
- new GradientStop(Colors.Blue, 0),
- new GradientStop(Colors.Green, 1)
- },
- Radius = 75
- }
- },
- new Avalonia.Controls.Shapes.Path
- {
- Data =
- StreamGeometry.Parse(
- "F1 M 16.6309,18.6563C 17.1309,8.15625 29.8809,14.1563 29.8809,14.1563C 30.8809,11.1563 34.1308,11.4063 34.1308,11.4063C 33.5,12 34.6309,13.1563 34.6309,13.1563C 32.1309,13.1562 31.1309,14.9062 31.1309,14.9062C 41.1309,23.9062 32.6309,27.9063 32.6309,27.9062C 24.6309,24.9063 21.1309,22.1562 16.6309,18.6563 Z M 16.6309,19.9063C 21.6309,24.1563 25.1309,26.1562 31.6309,28.6562C 31.6309,28.6562 26.3809,39.1562 18.3809,36.1563C 18.3809,36.1563 18,38 16.3809,36.9063C 15,36 16.3809,34.9063 16.3809,34.9063C 16.3809,34.9063 10.1309,30.9062 16.6309,19.9063 Z"),
- Fill =
- new LinearGradientBrush()
- {
- GradientStops =
- {
- new GradientStop(Colors.Green, 0),
- new GradientStop(Colors.LightSeaGreen, 1)
- }
- },
- HorizontalAlignment = HorizontalAlignment.Center,
- VerticalAlignment = VerticalAlignment.Center,
- RenderTransform = new MatrixTransform(Matrix.CreateScale(2, 2))
- }
- }
- },
- [Canvas.LeftProperty] = 100,
- [Canvas.TopProperty] = 100,
- }),
- (border2 = new Border
- {
- Width = 100,
- Height = 100,
- HorizontalAlignment = HorizontalAlignment.Center,
- VerticalAlignment = VerticalAlignment.Center,
- Background = Brushes.Coral,
- Child = new Image
- {
- Source = new Bitmap(GetImage("github_icon.png")),
- HorizontalAlignment = HorizontalAlignment.Center,
- VerticalAlignment = VerticalAlignment.Center,
- },
- RenderTransform = (rotate = new RotateTransform
- {
- PropertyTransitions = new PropertyTransitions
- {
- RotateTransform.AngleProperty.Transition(500),
- }
- }),
- PropertyTransitions = new PropertyTransitions
- {
- Layoutable.WidthProperty.Transition(300),
- Layoutable.HeightProperty.Transition(1000),
- },
- [Canvas.LeftProperty] = 400,
- [Canvas.TopProperty] = 100,
- }),
- }
- }
- },
- },
- };
-
- button1.Click += (s, e) =>
- {
- if (border2.Width == 100)
- {
- border2.Width = border2.Height = 400;
- rotate.Angle = 180;
- }
- else
- {
- border2.Width = border2.Height = 100;
- rotate.Angle = 0;
- }
- };
-
- var start = Animate.Stopwatch.Elapsed;
- var degrees = Animate.Timer
- .Select(x =>
- {
- var elapsed = (x - start).TotalSeconds;
- var cycles = elapsed / 4;
- var progress = cycles % 1;
- return 360.0 * progress;
- });
-
- border1.RenderTransform.Bind(
- RotateTransform.AngleProperty,
- degrees,
- BindingPriority.Animation);
-
- return result;
- }
- }
-}
diff --git a/samples/TestApplicationShared/Node.cs b/samples/TestApplicationShared/Node.cs
deleted file mode 100644
index 6773c0a131..0000000000
--- a/samples/TestApplicationShared/Node.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using Avalonia.Collections;
-
-namespace TestApplication
-{
- internal class Node
- {
- public Node()
- {
- Children = new AvaloniaList();
- }
-
- public string Name { get; set; }
- public AvaloniaList Children { get; set; }
- }
-
-}
diff --git a/samples/TestApplicationShared/TestApplicationShared.projitems b/samples/TestApplicationShared/TestApplicationShared.projitems
deleted file mode 100644
index 10b0a39472..0000000000
--- a/samples/TestApplicationShared/TestApplicationShared.projitems
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
- true
- 78345174-5b52-4a14-b9fd-d5f2428137f0
-
-
- TestApplication
-
-
-
-
-
-
-
-
-
-
-
-
-
- Never
-
-
- Never
-
-
-
\ No newline at end of file
diff --git a/samples/TestApplicationShared/TestApplicationShared.shproj b/samples/TestApplicationShared/TestApplicationShared.shproj
deleted file mode 100644
index f38d8be667..0000000000
--- a/samples/TestApplicationShared/TestApplicationShared.shproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- 78345174-5b52-4a14-b9fd-d5f2428137f0
- 14.0
-
-
-
-
-
-
-
-
diff --git a/samples/TestApplicationShared/TestApplicationShared.v2.ncrunchproject b/samples/TestApplicationShared/TestApplicationShared.v2.ncrunchproject
deleted file mode 100644
index e1b4d7cf28..0000000000
--- a/samples/TestApplicationShared/TestApplicationShared.v2.ncrunchproject
+++ /dev/null
@@ -1,26 +0,0 @@
-
- true
- 1000
- false
- false
- false
- true
- false
- false
- true
- false
- false
- false
- true
- false
- true
- true
- true
- 60000
-
-
-
- AutoDetect
- STA
- x86
-
\ No newline at end of file
diff --git a/samples/TestApplicationShared/github_icon.png b/samples/TestApplicationShared/github_icon.png
deleted file mode 100644
index ed4f82f847..0000000000
Binary files a/samples/TestApplicationShared/github_icon.png and /dev/null differ
diff --git a/samples/TestApplicationShared/html.htm b/samples/TestApplicationShared/html.htm
deleted file mode 100644
index 9c2115dc29..0000000000
--- a/samples/TestApplicationShared/html.htm
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
- Intro
-
-
-
-
- HTML Renderer Project - Avalonia port
-
- Beta support
-
-
-
-
-
-
Lightweight (~300K).
-
High performance and low memory footprint.
-
Extendable and configurable.
-
-
- Limitations
-
-
-
All HTML end tags marked as
- optional should be there. No problem with tags marked as forbidden.
-
-
-
- On the roadmap
- Of course it's not quite finished yet. Here are some of the important things to
- do.
-
-
Better performance
-
Support of position CSS property
-
Support of height and min-height CSS property
-
Better tables support, especially layouts
-
Support image align
-
Handle :hover selector
-
Selection by shift+arrows
-
Better HTML tag parsing (optional closing tags)
-
More styles support
-
-
- Vision
-
-
-
Most complete static HTML Renderer (no java script).