Class NavCommand
  
  
  
  
    Inheritance
    System.Object
    NavCommand
   
  
  Assembly: Vortex.Presentation.Wpf.dll
  Syntax
  
    public class NavCommand : ICommand
   
  Constructors
  
  
  
  
  NavCommand(Type, INavigable, Object, Object, Boolean)
  
  
  Declaration
  
    public NavCommand(Type viewType, INavigable presenter, object buttonContent = null, object dataContext = null, bool createNewInstanceAtEachNavigation = false)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Type | 
        viewType | 
         | 
      
      
        | INavigable | 
        presenter | 
         | 
      
      
        | System.Object | 
        buttonContent | 
         | 
      
      
        | System.Object | 
        dataContext | 
         | 
      
      
        | System.Boolean | 
        createNewInstanceAtEachNavigation | 
         | 
      
    
  
  Fields
  
  
  
  _element
  
  
  Declaration
  
    FrameworkElement _element
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.FrameworkElement | 
         | 
      
    
  
  
  
  _instanceCount
  
  
  Declaration
  
    readonly int _instanceCount
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
  
  _tag
  
  
  Declaration
  
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Object | 
         | 
      
    
  
  
  
  CreateNewInstanceAtEachNavigation
  
  
  Declaration
  
    readonly bool CreateNewInstanceAtEachNavigation
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  DataContext
  
  
  Declaration
  
    readonly object DataContext
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Object | 
         | 
      
    
  
  
  
  NavCommandsList
  
  
  Declaration
  
    static List<NavCommand> NavCommandsList
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Collections.Generic.List<NavCommand> | 
         | 
      
    
  
  
  
  Presenter
  
  
  Declaration
  
  Field Value
  
  Properties
  
  
  
  
  ButtonContent
  
  
  Declaration
  
    public object ButtonContent { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Object | 
         | 
      
    
  
  
  
  
  PreviewElement
  
  
  Declaration
  
    public FrameworkElement PreviewElement { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.FrameworkElement | 
         | 
      
    
  
  
  
  
  Tag
  
  
  Declaration
  
    public object Tag { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Object | 
         | 
      
    
  
  
  
  
  ViewType
  
  
  Declaration
  
    public Type ViewType { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Type | 
         | 
      
    
  
  Methods
  
  
  
  
  CanExecute(Object)
  
  
  Declaration
  
    public bool CanExecute(object parameter)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        parameter | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  CreateElement()
  
  
  Declaration
  
    FrameworkElement CreateElement()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.FrameworkElement | 
         | 
      
    
  
  
  
  
  CreateElement(FrameworkElement)
  
  
  Declaration
  
    FrameworkElement CreateElement(FrameworkElement view)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Windows.FrameworkElement | 
        view | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.FrameworkElement | 
         | 
      
    
  
  
  
  
  EraseCachedElements()
  
  
  Declaration
  
    static void EraseCachedElements()
   
  
  
  
  Execute(Object)
  
  
  Declaration
  
    public void Execute(object parameter)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        parameter | 
         | 
      
    
  
  
  
  
  MenuIcon(String)
  
  
  Declaration
  
    FrameworkElement MenuIcon(string menuTitle)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        menuTitle | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.FrameworkElement | 
         | 
      
    
  
  
  
  
  OpenView(FrameworkElement)
  
  
  Declaration
  
    public void OpenView(FrameworkElement view)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Windows.FrameworkElement | 
        view | 
         | 
      
    
  
  
  
  
  SecurityProvider_OnAnyAuthenticationEvent(String)
  
  
  Declaration
  
    void SecurityProvider_OnAnyAuthenticationEvent(string username)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        username | 
         | 
      
    
  
  
  
  
  ShowDialogueInWindow(Object)
  Shows content in separate dialogue window.
 
  
  Declaration
  
    void ShowDialogueInWindow(object dataContext)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        dataContext | 
         | 
      
    
  
  
  
  
  ShowInWindow(Object)
  Shows content in separate window.
 
  
  Declaration
  
    void ShowInWindow(object dataContext)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        dataContext | 
         | 
      
    
  
  Events
  
  
  
  CanExecuteChanged
  
  
  Declaration
  
    public event EventHandler CanExecuteChanged
   
  Event Type
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.EventHandler | 
         | 
      
    
  
  Extension Methods