forked from amkovkov/GranuSightSoftware2
11 lines
421 B
C#
11 lines
421 B
C#
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);
|
|
}
|