Class ShowStudioNotificationsViewEvent
Publish this event through the IEventAggregator in order to show the Notifications View
Inheritance
System.Object
ShowStudioNotificationsViewEvent
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Desktop.IntegrationApi.Notifications.Events
Assembly: Sdl.Desktop.IntegrationApi.dll
Syntax
public class ShowStudioNotificationsViewEvent
Constructors
ShowStudioNotificationsViewEvent(Boolean, Boolean)
The ShowStudioNotificationsViewEvent constructor
Declaration
public ShowStudioNotificationsViewEvent(bool showNotifications, bool setFocus)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showNotifications | Display the notifications control in the current view |
System.Boolean | 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 |
---|---|
System.Boolean |
ShowNotifications
Display the notifications control in the current view
Declaration
public bool ShowNotifications { get; }
Property Value
Type | Description |
---|---|
System.Boolean |