public NotificationItem( string id, bool isApplicationLevel, string message, ImageSource imageSource, NotificationType type, string details, bool showContextMenu, DateTime date, string customContextMenuItemText, Delegate customContextMenuItemDelegate, object[] contextMenuItemArgs )
Public Function New( _ ByVal id As String, _ ByVal isApplicationLevel As Boolean, _ ByVal message As String, _ ByVal imageSource As ImageSource, _ ByVal type As NotificationType, _ Optional ByVal details As String, _ Optional ByVal showContextMenu As Boolean, _ Optional ByVal date As Date, _ Optional ByVal customContextMenuItemText As String, _ Optional ByVal customContextMenuItemDelegate As Delegate, _ Optional ByVal contextMenuItemArgs() As Object _ )
Parameters
- id
- A unique identifier of the notification item
- isApplicationLevel
- Indicates if the item shows in the Application or Project category.
- message
- Message
- imageSource
- Custom image.
- type
- Type of Error, Warning, Confirmation, Information, or Custom
- details
- A detailed message.
- showContextMenu
- Indicates if the notification item has an associated context menu.
- date
- The date displayed for the item.
- customContextMenuItemText
- A custom menu item that shows on the item's context menu.
- customContextMenuItemDelegate
- The custom handler assoicated with the custom menu item.
- contextMenuItemArgs
- The arguments for the custom context menu item.