"gelbe" korrektur, nix großes

This commit is contained in:
OliverT87 2025-05-27 16:09:48 +02:00
parent b35e90fc20
commit 68cf1e01db

View File

@ -87,7 +87,7 @@ namespace Project_Periodensystem.View
CornerRadius = new CornerRadius(4),
BorderThickness = new Thickness(1),
BorderBrush = new SolidColorBrush(Colors.Gray),
Background = converter.Convert(element.Series, typeof(IBrush), null, CultureInfo.CurrentCulture) as IBrush // Hier wird die Farbe gesetzt
Background = converter.Convert(element.Series, typeof(IBrush), null!, CultureInfo.CurrentCulture) as IBrush // Hier wird die Farbe gesetzt
};
var stackPanel = new StackPanel();