Пример #1
0
 public BeatmapTabButton(BeatmapSortCriteria value)
     : base(value)
 {
     Add(icon = new SpriteIcon
     {
         Anchor        = Anchor.Centre,
         Origin        = Anchor.Centre,
         AlwaysPresent = true,
         Alpha         = 0,
         Size          = new Vector2(6)
     });
 }
Пример #2
0
 public BeatmapSortTabItem(BeatmapSortCriteria value)
     : base(value)
 {
 }
Пример #3
0
 protected override TabButton CreateTabButton(BeatmapSortCriteria value) => new BeatmapTabButton(value)
 {
     Active        = { BindTarget = Active },
     SortDirection = { BindTarget = SortDirection }
 };
Пример #4
0
 protected override TabItem <BeatmapSortCriteria> CreateTabItem(BeatmapSortCriteria value) => new BeatmapSortTabItem(value)
 {
     SortDirection = { BindTarget = SortDirection }
 };