Namespace: Spotfire.Dxp.Framework.ApplicationModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public static NotificationAction Create( string text, string longText, bool dismissWhenInvoked, Action action )
Parameters
- text
- Type: SystemString
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: SystemString
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: SystemBoolean
if set to true the notification is dismissed when the action is invoked. - action
- Type: SystemAction
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.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also