mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
29 lines
1.5 KiB
XML
29 lines
1.5 KiB
XML
<UserControl x:Class="Artemis.UI.Screens.Workshop.WorkshopView"
|
|
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.Screens.Workshop"
|
|
xmlns:s="https://github.com/canton7/Stylet"
|
|
xmlns:controls="clr-namespace:Artemis.UI.Shared;assembly=Artemis.UI.Shared"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
|
|
<StackPanel>
|
|
<Rectangle Width="100" Height="100" HorizontalAlignment="Left">
|
|
<Rectangle.Fill>
|
|
<SolidColorBrush Color="{Binding TestColor}" />
|
|
</Rectangle.Fill>
|
|
</Rectangle>
|
|
<TextBlock Text="{Binding TestColor}" />
|
|
<Button Command="{s:Action UpdateValues}" Style="{StaticResource MaterialDesignRaisedButton}"
|
|
HorizontalAlignment="Left" Margin="0 10">
|
|
Update values
|
|
</Button>
|
|
<CheckBox IsChecked="{Binding TestPopupOpen}">Test</CheckBox>
|
|
<controls:ColorPicker Color="{Binding TestColor, Mode=TwoWay}" PopupOpen="{Binding TestPopupOpen}" materialDesign:HintAssist.Hint="Custom hint" />
|
|
</StackPanel>
|
|
|
|
|
|
</UserControl> |