New UI (not wired up)
This commit is contained in:
@@ -21,7 +21,13 @@ public partial class BoolToVisibilityConverter : MarkupExtension, IValueConverte
|
||||
flag = boolValue;
|
||||
}
|
||||
|
||||
if (IsInverted)
|
||||
var parameterInverted = false;
|
||||
if (parameter is string paramStr && bool.TryParse(paramStr, out var result))
|
||||
{
|
||||
parameterInverted = result;
|
||||
}
|
||||
|
||||
if (IsInverted || parameterInverted)
|
||||
{
|
||||
flag = !flag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user