Class NavigableRenderableViewModelBase
Inheritance
System.Object
Vortex.Presentation.BindableBase
Vortex.Presentation.RenderableViewModelBase
NavigableRenderableViewModelBase
Inherited Members
Vortex.Presentation.RenderableViewModelBase.Model
Vortex.Presentation.BindableBase.SetProperty<T>(T, T, System.String)
Vortex.Presentation.BindableBase.OnPropertyChanged(System.String)
Vortex.Presentation.BindableBase.PropertyChanged
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public abstract class NavigableRenderableViewModelBase : RenderableViewModel, INavigable
Constructors
NavigableRenderableViewModelBase()
Declaration
public NavigableRenderableViewModelBase()
Fields
_CurrentView
Declaration
FrameworkElement _CurrentView
Field Value
Type |
Description |
System.Windows.FrameworkElement |
|
_NavCommands
Declaration
readonly ObservableCollection<NavCommand> _NavCommands
Field Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<NavCommand> |
|
Declaration
Visibility menuVisibility
Field Value
Type |
Description |
System.Windows.Visibility |
|
openInWindow
Declaration
ContentOpeningMode openInWindow
Field Value
title
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
ContentPresentationMode
Declaration
public ContentOpeningMode ContentPresentationMode { get; set; }
Property Value
CurrentView
Declaration
public FrameworkElement CurrentView { get; set; }
Property Value
Type |
Description |
System.Windows.FrameworkElement |
|
Declaration
public Visibility MenuVisibility { get; set; }
Property Value
Type |
Description |
System.Windows.Visibility |
|
NavCommands
Declaration
public ObservableCollection<NavCommand> NavCommands { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<NavCommand> |
|
Title
Declaration
public string Title { get; set; }
Property Value
Type |
Description |
System.String |
|
ToggleMenuCommand
Declaration
public RelayCommand ToggleMenuCommand { get; }
Property Value
Methods
AddCommand(Type, Object, Object)
Declaration
public NavCommand AddCommand(Type type, object buttonContent = null, object dataContext = null)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Object |
buttonContent |
|
System.Object |
dataContext |
|
Returns
OpenCommand(NavCommand)
Declaration
public void OpenCommand(NavCommand navCommand)
Parameters
OpenDefault()
Declaration
public void OpenDefault()
Declaration
protected void ToggleMenu()
Implements
Extension Methods