Nu fungerar RoundRunningView med minimal codeBehind
This commit is contained in:
12
GreadyPoang.Common/Specifics/HeaderColorConverter.cs
Normal file
12
GreadyPoang.Common/Specifics/HeaderColorConverter.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace GreadyPoang.Common;
|
||||
|
||||
public class HeaderColorConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) =>
|
||||
(bool)value ? Colors.DarkGray : Colors.Yellow;
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) =>
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
Reference in New Issue
Block a user