More styling
This commit is contained in:
@ -28,6 +28,30 @@ namespace Aurora.Design.Views.MainView
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private NavigationItem _selectedItem;
|
||||
public NavigationItem SelectedItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return _selectedItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _selectedItem, value);
|
||||
OnPropertyChanged("Title");
|
||||
}
|
||||
}
|
||||
|
||||
public string Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return (_selectedItem != null && !string.IsNullOrWhiteSpace(_selectedItem.Title)) ?
|
||||
_selectedItem.Title : "";
|
||||
}
|
||||
}
|
||||
|
||||
public MainViewModel()
|
||||
{
|
||||
_pages = new ObservableCollection<NavigationItem>(new[]
|
||||
|
Reference in New Issue
Block a user