Files
ShrlAlgoToolkit/WPFluent/Converters/InvertBooleanConverter.cs

12 lines
310 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace WPFluent.Converters;
public class InvertBooleanConverter : BooleanConverter<bool>
{
/// <summary>
/// 传bool类型的变量并将值赋值的给返回值的TrueValue和FalseValue,在这里取反
/// </summary>
public InvertBooleanConverter() : base(false, true)
{
}
}