parent
394c438adc
commit
0a62c5f3e5
@ -0,0 +1,25 @@
|
||||
<?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="LivreLand.View.ContentViews.DetailsLivreButtonView"
|
||||
x:Name="this">
|
||||
|
||||
<Grid BindingContext="{x:Reference this}"
|
||||
Margin="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="10"/>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image Source="{Binding ButtonIcon}"
|
||||
MaximumHeightRequest="20"
|
||||
MaximumWidthRequest="20"
|
||||
Grid.Column="0"/>
|
||||
<Label Text="{Binding ButtonTitle}"
|
||||
TextColor="Red"
|
||||
VerticalOptions="Center"
|
||||
Grid.Column="2"/>
|
||||
</Grid>
|
||||
|
||||
</ContentView>
|
@ -0,0 +1,23 @@
|
||||
namespace LivreLand.View.ContentViews;
|
||||
|
||||
public partial class DetailsLivreButtonView : ContentView
|
||||
{
|
||||
public static readonly BindableProperty ButtonTitleProperty = BindableProperty.Create(nameof(ButtonTitle), typeof(string), typeof(DetailsLivreButtonView), string.Empty);
|
||||
public string ButtonTitle
|
||||
{
|
||||
get => (string)GetValue(DetailsLivreButtonView.ButtonTitleProperty);
|
||||
set => SetValue(DetailsLivreButtonView.ButtonTitleProperty, value);
|
||||
}
|
||||
|
||||
public static readonly BindableProperty ButtonIconProperty = BindableProperty.Create(nameof(ButtonIcon), typeof(string), typeof(DetailsLivreButtonView), string.Empty);
|
||||
public string ButtonIcon
|
||||
{
|
||||
get => (string)GetValue(DetailsLivreButtonView.ButtonIconProperty);
|
||||
set => SetValue(DetailsLivreButtonView.ButtonIconProperty, value);
|
||||
}
|
||||
|
||||
public DetailsLivreButtonView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?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="LivreLand.View.ContentViews.SeparatorCutStartView">
|
||||
<Grid>
|
||||
<BoxView Color="{DynamicResource Gray}"
|
||||
Margin="10,0,0,0"
|
||||
HeightRequest="1"
|
||||
HorizontalOptions="Fill"/>
|
||||
</Grid>
|
||||
</ContentView>
|
@ -0,0 +1,9 @@
|
||||
namespace LivreLand.View.ContentViews;
|
||||
|
||||
public partial class SeparatorCutStartView : ContentView
|
||||
{
|
||||
public SeparatorCutStartView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
Loading…
Reference in new issue