mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Events - Hide some properties that shouldn't be visible Events - Added time since last trigger property
66 lines
3.3 KiB
XML
66 lines
3.3 KiB
XML
<UserControl x:Class="Artemis.UI.Screens.ProfileEditor.LayerProperties.DataBindings.ConditionalDataBinding.DataBindingConditionView"
|
|
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
<Border BorderThickness="0 0 0 1"
|
|
BorderBrush="{DynamicResource MaterialDesignDivider}"
|
|
Margin="0 0 0 -4"
|
|
Padding="0 4"
|
|
Background="Transparent">
|
|
<Border.ContextMenu>
|
|
<ContextMenu>
|
|
<MenuItem Header="Add new condition" Command="{s:Action AddCondition}">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="CodeNotEqual" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<Separator />
|
|
<MenuItem Header="Duplicate" Command="{s:Action DuplicateCondition}" InputGestureText="Ctrl+D" IsEnabled="False">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="ContentDuplicate" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem Header="Copy" Command="{s:Action CopyCondition}" InputGestureText="Ctrl+C" IsEnabled="False">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="ContentCopy" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem Header="Paste" Command="{s:Action PasteCondition}" InputGestureText="Ctrl+V" IsEnabled="False">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="ContentPaste" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<Separator />
|
|
<MenuItem Header="Delete" Command="{s:Action RemoveCondition}" InputGestureText="Del">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="TrashCan" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
</ContextMenu>
|
|
</Border.ContextMenu>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<ContentControl Grid.Row="0"
|
|
s:View.Model="{Binding ActiveItem}"
|
|
VerticalContentAlignment="Stretch"
|
|
HorizontalContentAlignment="Stretch"
|
|
IsTabStop="False"
|
|
Margin="0 -10 0 0"/>
|
|
|
|
<ContentControl Grid.Row="1"
|
|
Margin="26 0 0 0"
|
|
s:View.Model="{Binding ValueViewModel}"
|
|
VerticalContentAlignment="Stretch"
|
|
HorizontalContentAlignment="Stretch"
|
|
IsTabStop="False" />
|
|
</Grid>
|
|
</Border>
|
|
</UserControl> |