Namespace: Spotfire.Dxp.Framework.ApplicationModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 67.0.20819.4186 (67.0.20819.4186)
Syntax
C#
public static NotificationAction Create( string text, string longText, bool dismissWhenInvoked, Action action )
Parameters
- text
- Type: System.String
The text to use on links and buttons when rendering this action in space restricted contexts. Such as in cards in the notification fly-out. - longText
- Type: System.String
The text to use for tooltips or as text on links and buttons when rendering this action in contexts where space is not restricted. Such as in the notification dialog. - dismissWhenInvoked
- Type: System.Boolean
if set to true the notification is dismissed when the action is invoked. - action
- Type: System.Action
The method to invoke when the user clicks the link or button rendered for this instance.
Return Value
Type: NotificationActionA new NotificationAction instance.
Version Information
Supported in: 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also