1using System.Globalization;
12 public object?
Convert(
object? value, Type targetType,
object? parameter, CultureInfo culture)
15 return Colors.Transparent;
19 string Key = SettingsViewModel.CurrentDisplayMode == AppTheme.Light ?
"InputFieldsContentPrimaryLight" :
"InputFieldsContentPrimaryDark";
20 if (!(
App.
Current?.Resources.TryGetValue(Key, out
object Obj) ??
false))
21 return Colors.Transparent;
23 if (Obj is Color Color)
26 return Colors.Transparent;
30 return Colors.Transparent;
35 public object?
ConvertBack(
object? value, Type targetType,
object? parameter, CultureInfo culture)
Represents an instance of the Neuro-Access app.
static new? App Current
Gets the current application instance.
Transparent color, if value is null.
object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
object ProvideValue(IServiceProvider serviceProvider)