New to Telerik UI for WinFormsStart a free 30-day trial

Represents the base class for action results in charting operations. This abstract class provides a framework for handling the outcome of chart-related actions and determining whether a visual invalidation is required.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.dll

Syntax:

C#
public abstract class ActionResult

Inheritance: objectActionResult

Derived Classes: ChartRefreshResultEmptyResultViewResult

Constructors

Initializes a new instance of the ActionResult class.

C#
protected ActionResult()

Properties

Gets or sets a value indicating whether the chart should be invalidated after this action.

C#
public bool ShouldInvalidate { get; set; }
Property Value:

true if the chart requires visual invalidation to reflect changes; otherwise, false.

Remarks:

When set to true, this property signals that the chart needs to be redrawn to properly display the results of the action.

Methods

When implemented in a derived class, executes the action with the specified context.

C#
public abstract void Execute(object context)
Parameters:contextobject

The context object containing information necessary for action execution. This can be any object type depending on the specific action implementation.

Remarks:

This method must be implemented by derived classes to define the specific behavior of the action. The context parameter provides the necessary data for the action to complete its operation.