diff --git a/samples/ControlCatalog/ControlCatalog.csproj b/samples/ControlCatalog/ControlCatalog.csproj index afc456584a..dcadaaab40 100644 --- a/samples/ControlCatalog/ControlCatalog.csproj +++ b/samples/ControlCatalog/ControlCatalog.csproj @@ -78,6 +78,9 @@ DropDownPage.paml + + SliderPage.paml + @@ -108,6 +111,9 @@ Designer + + Designer + diff --git a/samples/ControlCatalog/MainWindow.paml b/samples/ControlCatalog/MainWindow.paml index ac900e7516..10687c50e4 100644 --- a/samples/ControlCatalog/MainWindow.paml +++ b/samples/ControlCatalog/MainWindow.paml @@ -11,5 +11,6 @@ + \ No newline at end of file diff --git a/samples/ControlCatalog/Pages/SliderPage.paml b/samples/ControlCatalog/Pages/SliderPage.paml new file mode 100644 index 0000000000..7284144dbb --- /dev/null +++ b/samples/ControlCatalog/Pages/SliderPage.paml @@ -0,0 +1,21 @@ + + + Slider + A control that lets the user select from a range of values by moving a Thumb control along a Track. + + + + + + + + \ No newline at end of file diff --git a/samples/ControlCatalog/Pages/SliderPage.paml.cs b/samples/ControlCatalog/Pages/SliderPage.paml.cs new file mode 100644 index 0000000000..de3977605f --- /dev/null +++ b/samples/ControlCatalog/Pages/SliderPage.paml.cs @@ -0,0 +1,18 @@ +using Perspex.Controls; +using Perspex.Markup.Xaml; + +namespace ControlCatalog.Pages +{ + public class SliderPage : UserControl + { + public SliderPage() + { + this.InitializeComponent(); + } + + private void InitializeComponent() + { + PerspexXamlLoader.Load(this); + } + } +}