Class ScopedMenuService
public abstract class ScopedMenuService : BindableBase, INotifyPropertyChanged, IMenuService, IMenuServiceNavigationAware, IDisposable
- Inheritance
-
ScopedMenuService
- Implements
- Derived
- Extension Methods
Constructors
Properties
- MenuGroupModels
Gets the collection of menu group models.
- MenuModelElements
Gets the collection of menu model elements.
- MenuModels
Gets the collection of menu models.
- MenuTabModels
Gets the collection of menu tab models.
Methods
- AddGroup(IMenuGroupModel)
Adds a menu group model to the collection.
- AddGroup<MenuGroupModelType>()
Adds a menu group model of the specified type to the collection.
- AddItems()
Adds all items to the collection.
- AddMenu(IMenuModel)
Adds a menu model to the collection.
- AddMenuElement(IMenuModelElement)
Adds a menu model element to the collection.
- AddMenuElement<View>(IMenuModelElement)
Adds a menu model element with the specified view to the collection.
- AddMenuElement<MenuElement, View>()
Adds a menu model element with the specified menu element type and view to the collection.
- AddMenuElement<View, ViewModelType>(IMenuModelElement)
Adds a menu model element with the specified view and view model type to the collection.
- AddMenuElement<MenuElement, View, ViewModelType>()
Adds a menu model element with the specified menu element type, view, and view model type to the collection.
- AddMenu<MenuModelType>()
Adds a menu model of the specified type to the collection.
- AddTab(IMenuTabModel)
Adds a menu tab model to the collection.
- CreateMenu<MenuModelType>()
Creates a menu model of the specified type.
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- FirstOrDefaultGroup(Func<IMenuGroupModel, bool>)
Returns the first menu group model that satisfies the specified condition.
- FirstOrDefaultMenu(Func<IMenuBaseModel, bool>)
Returns the first menu base model that satisfies the specified condition.
- FirstOrDefaultTab(Func<IMenuTabModel, bool>)
Returns the first menu tab model that satisfies the specified condition.
- OnNavigatedFrom(Uri)
Called when the view associated with the menu service is navigated from.
- OnNavigatedTo(Uri)
Called when the view associated with the menu service is navigated to.
- RemoveGroup(string)
Removes a menu group from the collection.
- RemoveItems()
Removes all items from the collection.
- RemoveMenu(IMenuModel)
Removes a menu model from the collection.
- RemoveMenu(IEnumerable<IMenuModel>)
Removes multiple menu models from the collection.
- RemoveMenuElement(IMenuModelElement)
Removes a menu model element from the collection.
- RemoveTab(string)
Removes a menu tab from the collection.
- SetSelectedTab(IMenuTabModel)
Sets the selected menu tab.