diff --git a/sources/PocketBook/AppShell.xaml b/sources/PocketBook/AppShell.xaml index 546aa55..a809d40 100644 --- a/sources/PocketBook/AppShell.xaml +++ b/sources/PocketBook/AppShell.xaml @@ -4,11 +4,14 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:PocketBook" - Shell.FlyoutBehavior="Disabled"> - - + Shell.FlyoutBehavior="Disabled" + Shell.NavBarIsVisible="False"> + + + + + + + diff --git a/sources/PocketBook/ContentViewFilter.xaml b/sources/PocketBook/ContentViewFilter.xaml new file mode 100644 index 0000000..f760d1c --- /dev/null +++ b/sources/PocketBook/ContentViewFilter.xaml @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/sources/PocketBook/ContentViewFilter.xaml.cs b/sources/PocketBook/ContentViewFilter.xaml.cs new file mode 100644 index 0000000..9205aed --- /dev/null +++ b/sources/PocketBook/ContentViewFilter.xaml.cs @@ -0,0 +1,33 @@ +namespace PocketBook; +public partial class ContentViewFilter : ContentView +{ + public static readonly BindableProperty FilterNumProperty = + BindableProperty.Create(nameof(FilterNum), typeof(string), typeof(ContentViewFilter), string.Empty); + + public static readonly BindableProperty FilterImageNameProperty = + BindableProperty.Create(nameof(FilterImageName), typeof(string), typeof(ContentViewFilter), string.Empty); + + public static readonly BindableProperty FilterNameProperty = + BindableProperty.Create(nameof(FilterName), typeof(string), typeof(ContentViewFilter), string.Empty); + public string FilterImageName + { + get { return (string)GetValue(FilterImageNameProperty); } + set { SetValue(FilterImageNameProperty, value); } + } + public string FilterName + { + get { return (string)GetValue(FilterNameProperty); } + set { SetValue(FilterNameProperty, value); } + } + public string FilterNum + { + get { return (string)GetValue(FilterNumProperty); } + set { SetValue(FilterNumProperty, value); } + } + + public ContentViewFilter() + { + InitializeComponent(); + + } +} \ No newline at end of file diff --git a/sources/PocketBook/MainPage.xaml b/sources/PocketBook/MainPage.xaml index f933b91..7a0d37a 100644 --- a/sources/PocketBook/MainPage.xaml +++ b/sources/PocketBook/MainPage.xaml @@ -1,40 +1,25 @@  - - - - -