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

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:

C#
public class CommandDescriptorsManager : IWeakEventListener

Inheritance: objectCommandDescriptorsManager

Implements: IWeakEventListener

Constructors

Initializes a new instance of the CommandDescriptorsManager class.

C#
public CommandDescriptorsManager(RadSpreadsheetElement owner)
Parameters:ownerRadSpreadsheetElement

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