1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.UI/ResourceDictionaries/LayerBrushDescriptors.xaml
Robert c4bce4ef2c Meta - Enabled packages.lock.json generation for faster CI builds
UI - Fixed several XAML references
Update azure-pipelines.yml for Azure Pipelines

Enabled NuGet caching, I think!
Move RGB.NET build to seperate pipeline

[skip ci]
Update azure-pipelines-rgbnet.yml for Azure Pipelines
Update azure-pipelines-rgbnet.yml for Azure Pipelines
Update azure-pipelines-rgbnet.yml for Azure Pipelines
CI - Rely on RGB.NET build artifacts instead of cloning and building
Update azure-pipelines.yml for Azure Pipelines
Update azure-pipelines-rgbnet.yml for Azure Pipelines

[skip ci]
Update azure-pipelines.yml for Azure Pipelines
Update azure-pipelines-rgbnet.yml for Azure Pipelines
Update azure-pipelines.yml for Azure Pipelines
Update azure-pipelines.yml for Azure Pipelines
Update azure-pipelines.yml for Azure Pipelines
Update azure-pipelines.yml for Azure Pipelines
2020-10-28 19:52:01 +01:00

25 lines
1.5 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
<DataTemplate x:Key="SimpleLayerBrushDescriptorTemplate">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="{Binding Icon}" Height="13" Width="13" Margin="0 1 3 0" />
<TextBlock Text="{Binding DisplayName}" />
</StackPanel>
</DataTemplate>
<DataTemplate x:Key="ExtendedLayerBrushDescriptorTemplate">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<materialDesign:PackIcon Grid.Row="0" Grid.RowSpan="2" Kind="{Binding Icon}" Height="20" Width="20" Margin="-5 -2 10 0" VerticalAlignment="Center" />
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding DisplayName}" TextWrapping="Wrap" MaxWidth="350" />
<TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Description}" TextWrapping="Wrap" MaxWidth="350" Foreground="{DynamicResource MaterialDesignNavigationItemSubheader}" />
</Grid>
</DataTemplate>
</ResourceDictionary>