BasicWindowShowToastNotification Method |
Shows the toast notification.
Namespace:
Hummingbird.UI
Assembly:
Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax public void ShowToastNotification(
string content,
NotificationLevel level,
Action callbackAction = null,
int timeout = 5
)
Public Sub ShowToastNotification (
content As String,
level As NotificationLevel,
Optional callbackAction As Action = Nothing,
Optional timeout As Integer = 5
)
public:
void ShowToastNotification(
String^ content,
NotificationLevel level,
Action^ callbackAction = nullptr,
int timeout = 5
)
Parameters
- content
- Type: SystemString
The content of the toast notification message. - level
- Type: Hummingbird.UINotificationLevel
The notification level. - callbackAction (Optional)
- Type: SystemAction
This action will be called if the user clicked on the Toast Notification. - timeout (Optional)
- Type: SystemInt32
The timeout in second when the notification hides itself, default value is 0
Remarks
If multiple toast notification is shown, they will shown one under another.
See Also