Class MessageBoardUtil
Utility class for displaying messages on a message board.
public static class MessageBoardUtil
- Inheritance
-
MessageBoardUtil
- Inherited Members
Properties
IsEnabled
Gets or sets whether message board functionality is enabled. When disabled in console applications, message board functions have no effect.
public static bool IsEnabled { get; set; }
Property Value
Methods
ShowError(string, string)
Shows an error message on the message board.
public static void ShowError(string title, string message)
Parameters
ShowFailed(string, string)
Shows a failure message on the message board.
public static void ShowFailed(string title, string message)
Parameters
ShowMessage(string, string, BootstrapTheme)
Displays a message on the message board with specified title and theme color.
public static void ShowMessage(string title, string message, BootstrapTheme bootstrapThemeColor)
Parameters
title
stringThe title of the message
message
stringThe content of the message
bootstrapThemeColor
BootstrapThemeThe theme color for the message display
ShowSuccess(string, string)
Shows a success message on the message board.
public static void ShowSuccess(string title, string message)
Parameters
ShowWarning(string, string)
Shows a warning message on the message board.
public static void ShowWarning(string title, string message)
Parameters
Events
ShowMessageBoard
Event that is triggered when a message needs to be displayed.
public static event ShowMessageBoardDelegate ShowMessageBoard