Changes the document's selected bibliographic style and observes history changes to notify listeners of style updates.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ChangeBibliographicStyleCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseChangeBibliographicStyleCommand
Implements:
Inherited Members
Constructors
Creates a command that changes bibliographic styles in the specified editor.
public ChangeBibliographicStyleCommand(RadRichTextBox editor)
The editor whose document style is changed.
Methods
Applies a different BibliographicReferenceStyleBase value and raises the style-changed event.
protected override void ExecuteOverride(object parameter)
The new style, or a value of another type to leave unchanged.
Overrides:
Raises the BibliographicStyleChanged event.
protected virtual void OnBibliographicStyleChanged(StylePropertyChangedEventArgs<BibliographicReferenceStyleBase> e)
The event data containing the style values reported by the command.
Events
Occurs when this command detects a change to the selected bibliographic style, including history-driven changes.
public event EventHandler<StylePropertyChangedEventArgs<BibliographicReferenceStyleBase>> BibliographicStyleChanged