Class NavigableViewModelBase
Inheritance
System.Object
NavigableViewModelBase
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public class NavigableViewModelBase : BindableBase, INotifyPropertyChanged, 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
System.ComponentModel.INotifyPropertyChanged
Extension Methods