Class CommandDescriptorsManager
Represents the manager of the command descriptors ensuring the command descriptors are updated.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Commands.Descriptors
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class CommandDescriptorsManager : Object, IWeakEventListener
Constructors
CommandDescriptorsManager(RadSpreadsheet)
Initializes a new instance of the CommandDescriptorsManager class.
Declaration
public CommandDescriptorsManager(RadSpreadsheet owner)
Parameters
RadSpreadsheet
owner
The RadSpreadsheet owning the manager. |
Methods
ReceiveWeakEvent(Type, Object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
System.Type
managerType
The type of the System.Windows.WeakEventManager calling this method. |
System.Object
sender
Object that originated the event. |
System.EventArgs
e
Event data. |
Returns
System.Boolean
true if the listener handled the event. It is considered an error by the System.Windows.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. |