mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 13:28:33 +00:00
44 lines
2.3 KiB
XML
44 lines
2.3 KiB
XML
<UserControl x:Class="Artemis.UI.Installer.Screens.Steps.Prerequisites.PrerequisiteView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:Artemis.UI.Installer.Screens.Steps.Prerequisites"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450" d:DesignWidth="800"
|
|
d:DataContext="{d:DesignInstance local:PrerequisiteViewModel}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Grid.Column="0" VerticalAlignment="Center">
|
|
<TextBlock Style="{StaticResource MaterialDesignBody1TextBlock}"
|
|
Text="{Binding Title}"/>
|
|
<TextBlock Style="{StaticResource MaterialDesignBody1TextBlock}"
|
|
Foreground="{DynamicResource MaterialDesignNavigationItemSubheader}"
|
|
Text="{Binding Description}"/>
|
|
</StackPanel>
|
|
<StackPanel Grid.Row="0" Grid.Column="1" VerticalAlignment="Center">
|
|
<ToggleButton Style="{StaticResource MaterialDesignActionToggleButton}"
|
|
Focusable="False"
|
|
IsHitTestVisible="False"
|
|
IsChecked="{Binding IsMet}">
|
|
<ToggleButton.Content>
|
|
<Border Background="#E74C4C" Width="32" Height="32">
|
|
<materialDesign:PackIcon Kind="Close" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Border>
|
|
</ToggleButton.Content>
|
|
<materialDesign:ToggleButtonAssist.OnContent>
|
|
<materialDesign:PackIcon Kind="Check" />
|
|
</materialDesign:ToggleButtonAssist.OnContent>
|
|
</ToggleButton>
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|