first edit
This commit is contained in:
45
XLIMS.PSV/ViewModels/SideItemViewModel.cs
Normal file
45
XLIMS.PSV/ViewModels/SideItemViewModel.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using XLIMS.MVVM.Base;
|
||||
|
||||
namespace XLIMS.PSV.ViewModels
|
||||
{
|
||||
public class SideItemViewModel:ViewModelBase
|
||||
{
|
||||
#region Constructor
|
||||
public SideItemViewModel(int index,string title)
|
||||
{
|
||||
_index = index;
|
||||
_title = title;
|
||||
}
|
||||
#endregion //Constructor
|
||||
|
||||
#region Events
|
||||
#endregion //Events
|
||||
|
||||
#region Fields
|
||||
private int _index;
|
||||
private string _title;
|
||||
#endregion //Fields
|
||||
|
||||
#region Properties
|
||||
public string Title
|
||||
{
|
||||
get => _title;
|
||||
set { _title = value; OnPropertyChanged(); }
|
||||
}
|
||||
public int Index
|
||||
{
|
||||
get => _index;
|
||||
set { _index = value; OnPropertyChanged(); }
|
||||
}
|
||||
#endregion //Properties
|
||||
|
||||
#region Methods
|
||||
#endregion //Methods
|
||||
|
||||
#region Commands
|
||||
#endregion //Commands
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user