Class
CommandDescriptorsManager

Represents the manager of the command descriptors ensuring the command descriptors are updated.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Commands.Descriptors

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class CommandDescriptorsManager : IWeakEventListener

Inheritance: objectCommandDescriptorsManager

Implements: IWeakEventListener

Constructors

CommandDescriptorsManager(RadSpreadsheet)

Initializes a new instance of the CommandDescriptorsManager class.

Declaration

cs-api-definition
public CommandDescriptorsManager(RadSpreadsheet owner)

Parameters

owner

RadSpreadsheet

The RadSpreadsheet owning the manager.

Methods

ReceiveWeakEvent(Type, object, EventArgs)

Receives events from the centralized event manager.

Declaration

cs-api-definition
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)

Parameters

managerType

Type

The type of the calling this method.

sender

object

Object that originated the event.

e

EventArgs

Event data.

Returns

bool

true if the listener handled the event. It is considered an error by the handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.