mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-05 11:25:20 +08:00
15 lines
328 B
C#
15 lines
328 B
C#
using System.Windows.Data;
|
|
|
|
namespace MicaSetup.Design.Converters;
|
|
|
|
[ValueConversion(typeof(bool), typeof(bool))]
|
|
public class BoolNegationConverter : BoolToValueConverter<bool>
|
|
{
|
|
public BoolNegationConverter()
|
|
{
|
|
this.TrueValue = true;
|
|
this.FalseValue = false;
|
|
this.IsInverted = true;
|
|
}
|
|
}
|