Skip to content

Commit 1d3e3bd

Browse files
committed
V2025.12.2-winui
1 parent e9d0d1e commit 1d3e3bd

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using Microsoft.UI.Xaml.Data;
2+
using System;
3+
4+
namespace Nickvision.Desktop.WinUI.Converters;
5+
6+
public class IntToBoolConverter : IValueConverter
7+
{
8+
public object? Convert(object? value, Type targetType, object? parameter, string language)
9+
{
10+
if (value is int intValue)
11+
{
12+
return intValue != 0;
13+
}
14+
return false;
15+
}
16+
17+
public object ConvertBack(object value, Type targetType, object parameter, string language) => throw new NotImplementedException();
18+
}

Nickvision.Desktop.WinUI/Nickvision.Desktop.WinUI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<UseWinUI>true</UseWinUI>
1313
<WinUISDKReferences>false</WinUISDKReferences>
1414
<PackageId>Nickvision.Desktop.WinUI</PackageId>
15-
<Version>2025.12.1</Version>
15+
<Version>2025.12.2</Version>
1616
<Company>Nickvision</Company>
1717
<Authors>Nickvision</Authors>
1818
<Description>A set of controls and helpers for WinUI based Nickvision apps.</Description>

0 commit comments

Comments
 (0)