Class ShellNavigationItem
Inheritance
System.Object
ShellNavigationItem
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Catalog.dll
Syntax
public class ShellNavigationItem : Observable, INotifyPropertyChanged
Constructors
ShellNavigationItem(String, Type)
Declaration
public ShellNavigationItem(string label, Type pageType)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.Type |
pageType |
|
ShellNavigationItem(String, IconElement, Type)
Declaration
public ShellNavigationItem(string label, IconElement icon, Type pageType)
Parameters
Type |
Name |
Description |
System.String |
label |
|
Windows.UI.Xaml.Controls.IconElement |
icon |
|
System.Type |
pageType |
|
ShellNavigationItem(String, Symbol, Type)
Declaration
public ShellNavigationItem(string label, Symbol symbol, Type pageType)
Parameters
Type |
Name |
Description |
System.String |
label |
|
Windows.UI.Xaml.Controls.Symbol |
symbol |
|
System.Type |
pageType |
|
Properties
Icon
Declaration
public IconElement Icon { get; }
Property Value
Type |
Description |
Windows.UI.Xaml.Controls.IconElement |
|
IsSelected
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Label
Declaration
public string Label { get; set; }
Property Value
Type |
Description |
System.String |
|
PageType
Declaration
public Type PageType { get; set; }
Property Value
Type |
Description |
System.Type |
|
SelectedForeground
Declaration
public SolidColorBrush SelectedForeground { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Media.SolidColorBrush |
|
SelectedVis
Declaration
public Visibility SelectedVis { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Visibility |
|
Symbol
Declaration
public Symbol Symbol { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Controls.Symbol |
|
SymbolAsChar
Declaration
public char SymbolAsChar { get; }
Property Value
Type |
Description |
System.Char |
|
Methods
FromType<T>(String, IconElement)
Declaration
public static ShellNavigationItem FromType<T>(string label, IconElement icon)
where T : Page
Parameters
Type |
Name |
Description |
System.String |
label |
|
Windows.UI.Xaml.Controls.IconElement |
icon |
|
Returns
Type Parameters
FromType<T>(String, Symbol)
Declaration
public static ShellNavigationItem FromType<T>(string label, Symbol symbol)
where T : Page
Parameters
Type |
Name |
Description |
System.String |
label |
|
Windows.UI.Xaml.Controls.Symbol |
symbol |
|
Returns
Type Parameters
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
System.ComponentModel.INotifyPropertyChanged