Class TabModel
- Namespace
- The.WPF.Shell.TDI
- Assembly
- Instagile.WPF.dll
public sealed class TabModel : NotificationObject, INotifyPropertyChanged
- Inheritance
-
TabModel
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
TabModel(ISurface, Func<Func<Task>, Task>, IScreenCommand, IScreenCommand, bool)
public TabModel(ISurface surface, Func<Func<Task>, Task> wrapRefresh, IScreenCommand closeCommand, IScreenCommand closeAllTabsCommand, bool hasLightbox)
Parameters
surface ISurface
wrapRefresh Func<Func<Task>, Task>
closeCommand IScreenCommand
closeAllTabsCommand IScreenCommand
hasLightbox bool
Properties
Commands
public CommandsMenuModel Commands { get; }
Property Value
- CommandsMenuModel
Content
public IScreenModel Content { get; set; }
Property Value
- IScreenModel
CurrentModal
public ModalScreenModel CurrentModal { get; }
Property Value
- ModalScreenModel
HasLightbox
public bool HasLightbox { get; }
Property Value
- bool
public TabHeaderModel Header { get; }
Property Value
- TabHeaderModel
ModalCount
public int ModalCount { get; }
Property Value
- int
Modals
public IEnumerable<ModalScreenModel> Modals { get; }
Property Value
- IEnumerable<ModalScreenModel>
TabNotifications
public NotificationBarModel TabNotifications { get; }
Property Value
- NotificationBarModel
Methods
PopModal()
PushModal(IScreenModel)
public void PushModal(IScreenModel vm)
Parameters
vm IScreenModel