Class ShowStudioNotificationsViewEvent
Publish this event through the IEventAggregator in order to show the Notifications View
Inherited Members
Namespace: Sdl.Desktop.IntegrationApi .Notifications.Events
Assembly: Sdl.Desktop.IntegrationApi.dll
Syntax
public class ShowStudioNotificationsViewEvent
Constructors
ShowStudioNotificationsViewEvent(bool, bool)
The ShowStudioNotificationsViewEvent constructor
Declaration
public ShowStudioNotificationsViewEvent(bool showNotifications, bool setFocus)
Parameters
Type | Name | Description |
---|---|---|
bool | showNotifications | Display the notifications control in the current view |
bool | setFocus | Sets focus on the notifications control |
Properties
SetFocus
Sets focus on the notifications control.
Useful in cases where the docking location of the view part is set to
Auto Hide; retaining focus would keep the view part active on screen as
opposed to being dismissed after a 2 second interval.
Declaration
public bool SetFocus { get; }
Property Value
Type | Description |
---|---|
bool |
ShowNotifications
Display the notifications control in the current view
Declaration
public bool ShowNotifications { get; }
Property Value
Type | Description |
---|---|
bool |