forked from amkovkov/GranuSightSoftware2
14 lines
473 B
C#
14 lines
473 B
C#
using System.Globalization;
|
|
|
|
using Avalonia.Data;
|
|
using Avalonia.Data.Converters;
|
|
using Avalonia.Layout;
|
|
|
|
namespace GSS2.UI.Core.Converters;
|
|
|
|
public static class OrientationToBoolConverter
|
|
{
|
|
public static readonly FuncValueConverter<Orientation, bool> IsVertical = new ((orientation) => orientation == Orientation.Vertical);
|
|
public static readonly FuncValueConverter<Orientation, bool> IsHorizontal = new ((orientation) => orientation == Orientation.Horizontal);
|
|
}
|