mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
UI - Small style change to the confirmation dialog Surface - Add API to get an ArtemisLed by its corresponding RGB.NET LED Devices - Add API to get an ArtemisLed by its corresponding RGB.NET LED Devices - Add API to get an ArtemisLed by its corresponding RGB.NET LedId
35 lines
1.8 KiB
XML
35 lines
1.8 KiB
XML
<UserControl x:ClassModifier="internal"
|
|
x:Class="Artemis.UI.Shared.Screens.Dialogs.ConfirmDialogView"
|
|
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:s="https://github.com/canton7/Stylet"
|
|
xmlns:dialogs="clr-namespace:Artemis.UI.Shared.Screens.Dialogs"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="163.274" d:DesignWidth="254.425"
|
|
d:DataContext="{d:DesignInstance dialogs:ConfirmDialogViewModel}">
|
|
<StackPanel Margin="16">
|
|
<TextBlock Style="{StaticResource MaterialDesignHeadline6TextBlock}" Text="{Binding Header}" TextWrapping="Wrap" />
|
|
<TextBlock Style="{StaticResource MaterialDesignSubtitle1TextBlock}"
|
|
Foreground="{DynamicResource MaterialDesignBodyLight}"
|
|
Margin="0 20 0 20"
|
|
Text="{Binding Text}"
|
|
TextWrapping="Wrap" />
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0 8 0 0">
|
|
<Button Style="{StaticResource MaterialDesignFlatButton}"
|
|
Focusable="False"
|
|
IsCancel="True"
|
|
Command="{s:Action Cancel}"
|
|
Content="{Binding CancelText}" />
|
|
<Button x:Name="ConfirmButton"
|
|
Style="{StaticResource MaterialDesignFlatButton}"
|
|
IsDefault="True"
|
|
Focusable="True"
|
|
Command="{s:Action Confirm}"
|
|
Content="{Binding ConfirmText}" />
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
</UserControl> |