@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="PocketBook.ContentViewFilter">
|
||||
<VerticalStackLayout>
|
||||
<Border Stroke="#E6E6E6" BackgroundColor="#F8F8F8" Scale="1.1">
|
||||
<StackLayout Orientation="Horizontal" Padding="0,5,0,5">
|
||||
<Image x:Name="filterImage" Margin="30,0,0,0" Scale="0.65"/>
|
||||
<Label x:Name="filterNameLabel" Margin="5,0,0,0" VerticalTextAlignment="Center" HorizontalOptions="StartAndExpand"/>
|
||||
<Label x:Name="filterNumLabel" VerticalTextAlignment="Center" TextColor="#AFAFAF"/>
|
||||
<Image Source="chevron_right.svg" Scale="0.5" HorizontalOptions="End" Margin="0,0,20,0"/>
|
||||
</StackLayout>
|
||||
</Border>
|
||||
</VerticalStackLayout>
|
||||
</ContentView>
|
@ -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();
|
||||
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 703 B |
After Width: | Height: | Size: 703 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 560 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 714 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 934 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 761 B |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 564 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 921 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.3 KiB |