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

Provides an abstract base class for controllers that handle interactions and processing within charting components.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.dll

Syntax:

C#
public abstract class Controller : INotifyPropertyChanged

Inheritance: objectController

Derived Classes: ChartViewControllerSparkViewController

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the Controller class.

C#
public Controller()

Fields

Represents an empty result for controller operations.

C#
public static EmptyResult Empty

Properties

Gets or sets a value indicating whether to process the next item in the controller chain.

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

true to process the next item; otherwise, false.

Methods

When overridden in a derived class, executes the core logic for the controller operation.

C#
protected abstract ActionResult ExecuteCore(object key, object context)
Parameters:keyobject

The key identifying the operation.

contextobject

The context for the operation.

Returns:

ActionResult

An ActionResult representing the outcome of the operation.

Raises the PropertyChanged event for the specified property.

C#
protected virtual void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the property that changed.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged