mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-11 15:24:02 +08:00
15 lines
363 B
C#
15 lines
363 B
C#
using System.Windows;
|
|
using System.Windows.Data;
|
|
|
|
namespace MicaSetup.Design.Converters;
|
|
|
|
[ValueConversion(typeof(bool), typeof(FontWeight))]
|
|
public class BoolToFontWeightConverter : BoolToValueConverter<FontWeight>
|
|
{
|
|
public BoolToFontWeightConverter()
|
|
{
|
|
this.TrueValue = FontWeights.Bold;
|
|
this.FalseValue = FontWeights.Normal;
|
|
}
|
|
}
|