mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-12-04 12:57:40 +08:00
fffbdbb4a9
1. add window demo 2. add scrollviewer demo 3. add radiobutton style 4. fixed some bugs 5. add research project
25 lines
641 B
C#
25 lines
641 B
C#
using System.Collections.Generic;
|
|
using GalaSoft.MvvmLight;
|
|
using HandyControlDemo.Service;
|
|
|
|
namespace HandyControlDemo.ViewModel
|
|
{
|
|
public class ComboBoxDemoViewModel : ViewModelBase
|
|
{
|
|
/// <summary>
|
|
/// 数据列表
|
|
/// </summary>
|
|
private List<string> _dataList;
|
|
|
|
/// <summary>
|
|
/// 数据列表
|
|
/// </summary>
|
|
public List<string> DataList
|
|
{
|
|
get => _dataList;
|
|
set => Set(ref _dataList, value);
|
|
}
|
|
|
|
public ComboBoxDemoViewModel(DataService dataService) => DataList = dataService.GetComboBoxDemoDataList();
|
|
}
|
|
} |