Class
ActionResult

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:

cs-api-definition
public abstract class ActionResult

Inheritance: objectActionResult

Derived Classes: ChartRefreshResultEmptyResultViewResult

Constructors

ActionResult()

Initializes a new instance of the ActionResult class.

Declaration

cs-api-definition
protected ActionResult()

Properties

ShouldInvalidate

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

Declaration

cs-api-definition
public bool ShouldInvalidate { get; set; }

Property Value

bool

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

Execute(object)

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

Declaration

cs-api-definition
public abstract void Execute(object context)

Parameters

context

object

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.