Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
EnumToVisibility.cs
1
using
System;
2
using
System.Globalization;
3
using
Microsoft.Maui.Controls;
4
5
6
namespace
NeuroAccessMaui.UI.Converters
7
{
8
public
class
EnumToVisibility
: IValueConverter
9
{
10
public
object
? Convert(
object
? value, Type targetType,
object
? parameter, CultureInfo culture)
11
{
12
if
(value ==
null
|| parameter ==
null
)
13
return
false
;
14
15
return
value.Equals(parameter);
16
}
17
18
public
object
? ConvertBack(
object
? value, Type targetType,
object
? parameter, CultureInfo culture)
19
{
20
return
Binding.DoNothing;
21
}
22
}
23
}
NeuroAccessMaui.UI.Converters.EnumToVisibility
Definition:
EnumToVisibility.cs:9
NeuroAccessMaui.UI.Converters
Definition:
AmountToColor.cs:4
NeuroAccessMaui
NeuroAccessMaui
UI
Converters
EnumToVisibility.cs
Generated by
1.9.5