Files
Toolkit2/Toolkit.UI.WinUI/IsStringNotNullOrEmptyConverter.cs
Dan Clark d893335195 wip
2024-11-24 16:35:00 +00:00

10 lines
280 B
C#

using System;
namespace Toolkit.UI.WinUI;
public class IsStringNotNullOrEmptyConverter :
ValueConverter<string, bool>
{
protected override bool ConvertTo(string value, Type? targetType, object? parameter, string? language) =>
!string.IsNullOrEmpty(value);
}