mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-24 18:23:01 +08:00
15 lines
413 B
C#
15 lines
413 B
C#
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
namespace AtomUI.Demo.Desktop.ViewModels;
|
|
|
|
public class TabControlDemoViewModel: ObservableObject
|
|
{
|
|
public ObservableCollection<string> Items { get; set; }
|
|
|
|
public TabControlDemoViewModel()
|
|
{
|
|
Items = new ObservableCollection<string>(Enumerable.Range(1, 200).Select(a => "Tab " + a));
|
|
}
|
|
} |