New to Telerik UI for WinForms? Start a free 30-day trial

Changes the document's selected bibliographic style and observes history changes to notify listeners of style updates.

Definition

Constructors

Creates a command that changes bibliographic styles in the specified editor.

C#
public ChangeBibliographicStyleCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose document style is changed.

Methods

Applies a different BibliographicReferenceStyleBase value and raises the style-changed event.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

The new style, or a value of another type to leave unchanged.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)

Raises the BibliographicStyleChanged event.

C#
protected virtual void OnBibliographicStyleChanged(StylePropertyChangedEventArgs<BibliographicReferenceStyleBase> e)
Parameters:eStylePropertyChangedEventArgs<BibliographicReferenceStyleBase>

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.

C#
public event EventHandler<StylePropertyChangedEventArgs<BibliographicReferenceStyleBase>> BibliographicStyleChanged