Design
This commit is contained in:
@@ -19,17 +19,18 @@ namespace TV_Player
|
||||
set => SetProperty(ref _isTopPanelVisible, value);
|
||||
}
|
||||
|
||||
private string _topPaneTitle;
|
||||
public string TopPanelTitle
|
||||
{
|
||||
get => _topPaneTitle;
|
||||
set => SetProperty(ref _topPaneTitle, value);
|
||||
}
|
||||
|
||||
public Action ButtonBackAction { get; set; }
|
||||
public ICommand BackCommand { get; }
|
||||
|
||||
public MainViewModel()
|
||||
{
|
||||
var vm = new ProgramsGroupViewModel();
|
||||
|
||||
var control = new ProgramsGroupGrid();
|
||||
control.DataContext = vm;
|
||||
Control = control;
|
||||
|
||||
{
|
||||
BackCommand = new RelayCommand(OnButtonBackClick);
|
||||
}
|
||||
private void OnButtonBackClick()
|
||||
|
||||
Reference in New Issue
Block a user