[]
Gets or sets the callback that is triggered before the Viewer executes an action.
[Parameter]
public Func<ActionInfo, ActionResult> OnAction { get; set; }
Type | Description |
---|---|
Func<ActionInfo, ActionResult> | A callback function that takes an ActionInfo as input and returns an ActionResult. |
This property can only be set once during object initialization and cannot be changed afterwards.