123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:vm="using:FinancialManagement.ViewModels"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="1600" d:DesignHeight="1080"
- x:Class="FinancialManagement.Views.FinancialManagementPage"
- x:DataType="vm:MainWindowViewModel">
- <Grid
- ColumnDefinitions="*"
- RowDefinitions="80, 10, *"
- Background="#7471E8">
- <StackPanel
- Orientation="Horizontal"
- HorizontalAlignment="Left">
- <Image
- Margin="20 0 0 0"
- HorizontalAlignment="Left"
- Width="50"
- Source="/Assets/Icon_Profile.png"/>
- <Border
- CornerRadius="10"
- Background="#ffffff"
- Padding="10 5 10 5"
- Margin="30 10 10 0"
- Height="40">
- <TextBlock
- HorizontalAlignment="Center"
- FontFamily="{StaticResource NunitoBold}"
- Foreground="#7471E8"
- FontSize="24"
- Text="{Binding FinancialManagementVM.UserName}"/>
- </Border>
- <Button
- Background="#ffffff"
- Foreground="#7471E8"
- CornerRadius="10"
- FontSize="24"
- Content="Редактировать профиль"
- FontFamily="{StaticResource NunitoBold}"
- Height="40"
- HorizontalAlignment="Right"
- Padding="20 5 20 0"
- Margin="20 10 20 0"
- Command="{Binding ToProfile}">
- <Button.Styles>
- <Style Selector="Button:pointerover /template/ ContentPresenter">
- <Setter Property="Background" Value="#E3E6FF"></Setter>
- <Setter Property="Foreground" Value="#7471E8"></Setter>
- </Style>
- </Button.Styles>
- </Button>
- <Button
- Background="#ffffff"
- Foreground="#7471E8"
- CornerRadius="10"
- FontSize="24"
- Content="Выйти"
- FontFamily="{StaticResource NunitoBold}"
- Height="40"
- HorizontalAlignment="Right"
- Padding="20 5 20 0"
- Margin="20 10 20 0"
- Command="{Binding ToLoadOut}">
- <Button.Styles>
- <Style Selector="Button:pointerover /template/ ContentPresenter">
- <Setter Property="Background" Value="#E3E6FF"></Setter>
- <Setter Property="Foreground" Value="#7471E8"></Setter>
- </Style>
- </Button.Styles>
- </Button>
- </StackPanel>
- <Panel
- Grid.Column="0"
- Grid.Row="2"
- Background="#E3E6FF">
- </Panel>
- <Panel
- Grid.Column="0"
- Grid.Row="2"
- Background="#E3E6FF"
- HorizontalAlignment="">
- <Button
- Background="#7471E8"
- Foreground="#ffffff"
- CornerRadius="10"
- FontSize="24"
- Content="Добавить счета"
- FontFamily="{StaticResource NunitoBold}"
- Height="40"
- HorizontalAlignment="Center"
- Padding="20 5 20 0"
- Margin="20 10 20 0"
- Command="{Binding ToFinanceTable}">
- <Button.Styles>
- <Style Selector="Button:pointerover /template/ ContentPresenter">
- <Setter Property="Background" Value="#ffffff"></Setter>
- <Setter Property="Foreground" Value="#7471E8"></Setter>
- </Style>
- </Button.Styles>
- </Button>
- </Panel>
- </Grid>
- </UserControl>
|