mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-12-06 00:02:43 -05:00
Added ability to change Entries background and foreground colors
This commit is contained in:
@@ -20,7 +20,8 @@ namespace ModernKeePass.Converters
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
var brush = value as SolidColorBrush;
|
||||
return brush == null ? new Color() : Color.FromArgb(brush.Color.A, brush.Color.R, brush.Color.G, brush.Color.B);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user