update StepBar & readme

This commit is contained in:
NaBian committed 2020-03-28 14:27:13 +08:00
1 parent 31ee8e91f2
commit b7222be265
4 files changed
+81 -53

No files matched your search

@@ -16,6 +16,18 @@ namespace HandyControlDemo.ViewModel
{
public StepBarDemoViewModel(DataService dataService) => DataList = dataService.GetStepBarDemoDataList();
private int _stepIndex;
public int StepIndex
{
get => _stepIndex;
#if netle40
set => Set(nameof(StepIndex), ref _stepIndex, value);
#else
set => Set(ref _stepIndex, value);
#endif
}
/// <summary>
/// 下一步
/// </summary>