123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <UserControl
- x:Class="PDF_Office.Views.Dialog.ServiceDialog.UserDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:help="clr-namespace:PDF_Office.Helper"
- xmlns:local="clr-namespace:PDF_Office.Views.Dialog.ServiceDialog"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- Width="310"
- Height="368"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <Grid Background="White">
- <Button
- Width="16"
- Height="16"
- Margin="287,17,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Background="Transparent"
- BorderThickness="0"
- Command="{Binding CloseDialogCommand}"
- WindowChrome.IsHitTestVisibleInChrome="True">
- <Polygon Fill="{StaticResource color.btn.sec.text.def}" Points="11.2919922 12 12 11.2919922 6.70800781 6 12 0.708007813 11.2919922 0 6 5.29199219 0.708007812 9.76996262e-15 -2.27456942e-13 0.708007813 5.29199219 6 0 11.2919922 0.708007812 12 6 6.70800781" />
- </Button>
- <Grid
- Margin="0,40,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <StackPanel>
- <TextBlock
- HorizontalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="20"
- FontStyle="Normal"
- FontWeight="SemiBold"
- LineHeight="28"
- Text="Account Information" />
- <Grid Margin="0,32,0,0" Background="#F7F8FA">
- <StackPanel>
- <Menu
- x:Name="Menu"
- Width="24"
- Height="24"
- HorizontalAlignment="Right"
- VerticalAlignment="Top">
- <MenuItem
- Width="24"
- Height="24"
- Margin="-2,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Header="🔻">
- <MenuItem Command="{Binding UserOutCommand}" Header="Cancellation" />
- </MenuItem>
- </Menu>
- <Border
- Width="48"
- Height="48"
- HorizontalAlignment="Center"
- Background="#1770F4"
- CornerRadius="100">
- <Path Data="M24.0273 34.4922C28.7578 34.4922 31.7246 32.0859 31.7246 28.2441V28.2305C31.7246 25.25 29.9883 23.582 25.832 22.707L23.7129 22.2559C21.252 21.7363 20.2539 20.8613 20.2539 19.4668V19.4531C20.2539 17.7715 21.8125 16.7461 24 16.7461C26.2559 16.7324 27.7188 17.8262 27.9648 19.3574L27.9922 19.5215H31.3691L31.3555 19.3438C31.1094 16.1719 28.3887 13.7793 24.0137 13.7793C19.748 13.7793 16.7129 16.1582 16.7129 19.6855V19.6992C16.7129 22.6387 18.4629 24.5254 22.4961 25.373L24.6152 25.8105C27.1582 26.3574 28.1836 27.2188 28.1836 28.6406V28.6543C28.1836 30.3496 26.5156 31.5254 24.1367 31.5254C21.6348 31.5254 19.8711 30.4316 19.707 28.7773L19.6934 28.6406H16.2754L16.2891 28.832C16.5352 32.2363 19.4473 34.4922 24.0273 34.4922Z" Fill="White" />
- </Border>
- <TextBlock
- Margin="0,20,0,0"
- HorizontalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- FontStyle="Normal"
- FontWeight="SemiBold"
- Foreground="#616469"
- LineHeight="20"
- Text="E-mail address" />
- <TextBlock
- Width="172"
- Height="22"
- Margin="0,10,0,0"
- HorizontalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="14"
- FontStyle="Normal"
- Foreground="#252629"
- LineHeight="20"
- Text="{Binding UserEmail}"
- TextAlignment="Center"
- TextWrapping="Wrap" />
- </StackPanel>
- </Grid>
- <Button
- Width="200"
- Height="32"
- Margin="0,32,0,0"
- HorizontalAlignment="Center"
- Command="{Binding LogOutCommand}"
- Style="{StaticResource btn.ghost}">
- <TextBlock Text="Log Out" />
- </Button>
- </StackPanel>
- </Grid>
- <Grid>
- <ContentControl prism:RegionManager.RegionName="{Binding UserRegionName}" Visibility="Visible" />
- </Grid>
- </Grid>
- </UserControl>
|