12345678910111213141516171819202122232425262728293031323334 |
- <UserControl x:Class="PDF_Master.Views.TipContent.FileRestrictedTip"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- Height="176" Width="379">
- <Border CornerRadius="8" Background="{StaticResource color.sys.layout.state.note}">
- <Grid Margin="16">
- <Grid.RowDefinitions>
- <RowDefinition Height="24"></RowDefinition>
- <RowDefinition Height="72"></RowDefinition>
- <RowDefinition Height="48"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition Width="24"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="File Restricted" FontSize="14" VerticalAlignment="Center" FontFamily="Segoe UI" FontWeight="Medium" ></TextBlock>
- </StackPanel>
- <Button Background="Transparent" BorderBrush="Transparent" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Right" Command="{Binding CloseTipCommand}">
- <Path Data="M6.00006 7.06066L9.46973 10.5303L10.5304 9.46967L7.06072 6L10.5304 2.53033L9.46973 1.46967L6.00006 4.93934L2.53039 1.46967L1.46973 2.53033L4.9394 6L1.46973 9.46967L2.53039 10.5303L6.00006 7.06066Z" Fill="#94989C"></Path>
- </Button>
- </Grid>
- <TextBlock Grid.Row="1" TextWrapping="Wrap" Text="Files are password protected. Restricted features need to be unlocked to use" Foreground="{StaticResource color.sys.text.neutral.lv2}" Margin="0,8,16,0" FontFamily="Segoe UI" FontSize="14"></TextBlock>
- <Button Grid.Row="2" Height="32" Width="151" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="Transparent" BorderThickness="1" Command="{Binding RestrictCommand}">
- <TextBlock Text="Release restrictions" FontSize="14"></TextBlock>
- </Button>
- </Grid>
- </Border>
- </UserControl>
|