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

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:

C#
public class CommandDescriptorsManager : IWeakEventListener

Inheritance: objectCommandDescriptorsManager

Implements: IWeakEventListener

Constructors

Initializes a new instance of the CommandDescriptorsManager class.

C#
public CommandDescriptorsManager(RadSpreadsheet owner)
Parameters:ownerRadSpreadsheet

The RadSpreadsheet owning the manager.

Methods

Receives events from the centralized event manager.

C#
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters:managerTypeType

The type of the calling this method.

senderobject

Object that originated the event.

eEventArgs

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.