VPet/VPet.Solution/Converters.xaml

25 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-12-18 14:53:56 +00:00
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
2023-12-30 15:50:37 +00:00
xmlns:c="clr-namespace:HKW.WPF.Converters">
2023-12-18 14:53:56 +00:00
<c:MarginConverter x:Key="MarginConverter" />
2023-12-30 15:50:37 +00:00
<c:MarginConverter x:Key="RatioMarginConverter" HaveRatio="True" />
2023-12-18 14:53:56 +00:00
<c:CalculatorConverter x:Key="CalculatorConverter" />
<c:StringFormatConverter x:Key="StringFormatConverter" />
<c:BrushToMediaColorConverter x:Key="BrushToMediaColorConverter" />
2023-12-30 15:50:37 +00:00
<c:BoolToVisibilityConverter x:Key="FalseToHiddenConverter" />
<c:BoolToVisibilityConverter
x:Key="FalseToVisibleConverter"
FalseVisibilityValue="Visible"
NullValue="True"
TrueVisibilityValue="Hidden" />
<c:NullToVisibilityConverter x:Key="NotNullToVisibleConverter" />
<c:NullToVisibilityConverter
x:Key="NullToVisibleConverter"
NotNullVisibilityValue="Hidden"
NullVisibilityValue="Visible" />
2023-12-18 14:53:56 +00:00
<c:EqualsConverter x:Key="EqualsConverter" />
2023-12-30 15:50:37 +00:00
<c:EqualsConverter x:Key="NotEqualsConverter" Inverter="True" />
2024-01-09 15:22:25 +00:00
<c:ValueToBoolConverter x:Key="NullToFalse" Invert="True" />
2023-12-24 16:31:22 +00:00
<c:BoolInverter x:Key="BoolInverter" />
2023-12-18 14:53:56 +00:00
</ResourceDictionary>