Class Monoscreen
Monoscreen
public class Monoscreen : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, ISurface, IComponentConnector
- Inheritance
-
Monoscreen
- Implements
- Inherited Members
- Extension Methods
Constructors
Monoscreen(IServices, IPrincipal)
public Monoscreen(IServices services, IPrincipal principal)
Parameters
servicesIServicesprincipalIPrincipal
Properties
ContentContainer
public UIElement ContentContainer { get; }
Property Value
CurrentModalContent
public IScreenModel CurrentModalContent { get; }
Property Value
Principal
public IPrincipal Principal { get; }
Property Value
Services
public IServices Services { get; set; }
Property Value
Window
public Window Window { get; }
Property Value
Methods
ClearNotifications()
public void ClearNotifications()
InitializeComponent()
InitializeComponent
public void InitializeComponent()
OnClosed(EventArgs)
Raises the Closed event.
protected override void OnClosed(EventArgs e)
Parameters
PopModalContent()
End display of the most recent modal subscreen
public void PopModalContent()
PushModalContent(IScreenModel)
Display a subscreen modally - this method should not block
public void PushModalContent(IScreenModel model)
Parameters
modelIScreenModel
SetContent(IScreenModel)
Set or replace the content
public void SetContent(IScreenModel model)
Parameters
modelIScreenModel
ShowNotification(string, MessageLevel, string, TimeSpan?)
Display an event notification non-modally
public void ShowNotification(string notification, MessageLevel severity, string details = null, TimeSpan? timeout = null)
Parameters
notificationstringseverityMessageLeveldetailsstringtimeoutTimeSpan?
Events
ContentChanging
Should be triggered when a surface's content is about to be changed
public event Action ContentChanging
Event Type
ScreenDisposed
Should be triggered when a surface is no longer present in the UI
public event Action ScreenDisposed