ClassActionResult
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:
public abstract class ActionResult
Inheritance: objectActionResult
Derived Classes:
Constructors
ActionResult()
Initializes a new instance of the ActionResult class.
Declaration
protected ActionResult()
Properties
ShouldInvalidate
Gets or sets a value indicating whether the chart should be invalidated after this action.
Declaration
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
Execute(object)
When implemented in a derived class, executes the action with the specified context.
Declaration
public abstract void Execute(object context)
Parameters
context
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.