Ghost1372

everything can be handy

Converters

NumberToPercentageConverter

1
// Value: 25.0
1
<TextBlock Text="{x:Bind Value, Converter={StaticResource NumberToPercentageConverter}, ConverterParameter=WithPercentageSymbol}" />
1
// Output: 25 %

BoolToVisibilityConverter

1
<TextBlock Visibility="{x:Bind boolValue, Converter={StaticResource BoolToVisibilityConverter}}" />

you can run demo and see this feature.

0%