Class
Controller

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:

cs-api-definition
public abstract class Controller : INotifyPropertyChanged

Inheritance: objectController

Derived Classes: ChartViewControllerSparkViewController

Implements: INotifyPropertyChanged

Constructors

Controller()

Initializes a new instance of the Controller class.

Declaration

cs-api-definition
public Controller()

Fields

Empty

Represents an empty result for controller operations.

Declaration

cs-api-definition
public static EmptyResult Empty

Field Value

EmptyResult

Properties

ProcessNext

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

Declaration

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

Property Value

bool

true to process the next item; otherwise, false.

Methods

ExecuteCore(object, object)

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

Declaration

cs-api-definition
protected abstract ActionResult ExecuteCore(object key, object context)

Parameters

key

object

The key identifying the operation.

context

object

The context for the operation.

Returns

ActionResult

An ActionResult representing the outcome of the operation.

OnPropertyChanged(string)

Raises the PropertyChanged event for the specified property.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

The name of the property that changed.

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged