mirror of
https://github.com/libretro/MesenCE.git
synced 2026-11-10 03:02:05 -10:00
Also fixes DX11.0 support (for Win7 PCs that aren't fully updated), which stopped working after the recent variable refresh rate changes
28 lines
704 B
C#
28 lines
704 B
C#
using Avalonia;
|
|
using Avalonia.Data;
|
|
|
|
namespace DataBoxControl;
|
|
|
|
public abstract class DataBoxBoundColumn : DataBoxColumn
|
|
{
|
|
public static readonly StyledProperty<BindingBase?> BindingProperty =
|
|
AvaloniaProperty.Register<DataBoxBoundColumn, BindingBase?>(nameof(Binding));
|
|
|
|
public static readonly StyledProperty<BindingBase?> IsVisibleProperty =
|
|
AvaloniaProperty.Register<DataBoxBoundColumn, BindingBase?>(nameof(IsVisible));
|
|
|
|
[AssignBinding]
|
|
public BindingBase? Binding
|
|
{
|
|
get => GetValue(BindingProperty);
|
|
set => SetValue(BindingProperty, value);
|
|
}
|
|
|
|
[AssignBinding]
|
|
public BindingBase? IsVisible
|
|
{
|
|
get => GetValue(IsVisibleProperty);
|
|
set => SetValue(IsVisibleProperty, value);
|
|
}
|
|
}
|