Class
CommandDescriptorsManager

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

Definition

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

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

cs-api-definition
public class CommandDescriptorsManager : IWeakEventListener

Inheritance: objectCommandDescriptorsManager

Implements: IWeakEventListener

Constructors

CommandDescriptorsManager(RadSpreadsheetElement)

Initializes a new instance of the CommandDescriptorsManager class.

Declaration

cs-api-definition
public CommandDescriptorsManager(RadSpreadsheetElement owner)

Parameters

owner

RadSpreadsheetElement

The RadSpreadsheetElement 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 WeakEventManager 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 WeakEventManager 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.

Implements IWeakEventListener.ReceiveWeakEvent(Type, object, EventArgs)