Class NavigationItem
Class NavigationItem.
Inheritance
System.Object
NavigationItem
Namespace: ISynergy.Framework.UI.Models
Assembly: ISynergy.Framework.UI.dll
Syntax
public class NavigationItem : object
Constructors
View SourceNavigationItem(String, Object, String, ICommand, Object)
Initializes a new instance of the NavigationItem class.
Declaration
public NavigationItem(string name, object symbol, string foreground, ICommand command, object commandParameter = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Object | symbol | The symbol. |
System.String | foreground | The foreground. |
ICommand | command | The command. |
System.Object | commandParameter | The command parameter. |
Properties
View SourceCommand
Gets or sets the command.
Declaration
public ICommand Command { get; }
Property Value
Type | Description |
---|---|
ICommand | The command. |
CommandParameter
Gets or sets the command parameter.
Declaration
public object CommandParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The command parameter. |
Foreground
Gets or sets the foreground.
Declaration
public string Foreground { get; set; }
Property Value
Type | Description |
---|---|
System.String | The foreground. |
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Symbol
Gets or sets the symbol.
Declaration
public object Symbol { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The symbol. |
ToolTipMenu
Gets or sets the tool tip menu.
Declaration
public string ToolTipMenu { get; set; }
Property Value
Type | Description |
---|---|
System.String | The tool tip menu. |