Class NavigableViewModelBase
Inheritance
System.Object
Vortex.Presentation.BindableBase
NavigableViewModelBase
Inherited Members
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 class NavigableViewModelBase : BindableBase, INavigable
Constructors
NavigableViewModelBase()
Declaration
public NavigableViewModelBase()
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
Current
Declaration
public static NavigableViewModelBase Current { get; }
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
CreateElement(FrameworkElement)
Declaration
FrameworkElement CreateElement(FrameworkElement view)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
view |
|
Returns
Type |
Description |
System.Windows.FrameworkElement |
|
OpenCommand(NavCommand)
Declaration
public void OpenCommand(NavCommand navCommand)
Parameters
OpenDefault()
Declaration
public void OpenDefault()
OpenView(FrameworkElement)
Declaration
public void OpenView(FrameworkElement view)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
view |
|
ShowDialogueInWindow(FrameworkElement)
Shows content in separate dialogue window.
Declaration
public void ShowDialogueInWindow(FrameworkElement content)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
content |
|
ShowInWindow(FrameworkElement)
Declaration
public Window ShowInWindow(FrameworkElement content)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
content |
|
Returns
Type |
Description |
System.Windows.Window |
|
Declaration
protected void ToggleMenu()
Implements
Extension Methods