Stores routed application commands and reports changes through CollectionChanged.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ApplicationCommandsCollection : IEnumerable, INotifyCollectionChanged
Inheritance: objectApplicationCommandsCollection
Implements:
Methods
Adds a command to the collection and raises a collection-change notification.
public void Add(RoutedUICommand applicationCommand)
The routed application command to add. Duplicate entries are allowed.
Removes all commands and raises a reset notification.
public void Clear()
Determines whether the collection contains the specified command.
public bool Contains(RoutedUICommand applicationCommand)
The routed application command to locate.
Returns:Raises the event.
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
The NotifyCollectionChangedEventArgs instance containing the event data.
Removes the first matching command and raises a notification when an entry was removed.
public bool Remove(RoutedUICommand applicationCommand)
The routed application command to remove.
Returns:Events
Occurs after a command is added, removed, or the collection is cleared.
public event NotifyCollectionChangedEventHandler CollectionChanged
Implements: