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

Represents table styles gallery view-model.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI.RibbonControls.TableStylesGallery.ViewModels

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class TableStylesGalleryViewModel : RadRichTextBoxViewModelBase, INotifyPropertyChanged

Inheritance: objectViewModelBaseRadRichTextBoxViewModelBaseTableStylesGalleryViewModel

Implements: INotifyPropertyChanged

Inherited Members RadRichTextBoxViewModelBase.EditorViewModelBase.OnPropertyChanged(string)ViewModelBase.PropertyChanged

Constructors

Initializes a new instance of the TableStylesGalleryViewModel class.

C#
public TableStylesGalleryViewModel(RadRichTextBox editor, BuiltInStylesVersion builtInStylesVersion)
Parameters:editorRadRichTextBox

The editor.

builtInStylesVersionBuiltInStylesVersion

The built in styles version.

Properties

Gets or sets the current selected style.

C#
public StyleDefinition CurrentSelectedStyle { get; set; }
Property Value:

The current selected style.

Gets or sets the current table look.

C#
public TableLook CurrentTableLook { get; set; }
Property Value:

The current table look.

Gets the delete style command.

C#
public ICommand DeleteStyleCommand { get; }
Property Value:

The delete style command.

Gets the manage table styles dialog command.

C#
public ICommand ManageTableStylesDialogCommand { get; }
Property Value:

The manage table styles dialog command.

Gets or sets the style definitions.

C#
public IEnumerable<TableStylesGalleryItemContent> StyleDefinitions { get; }
Property Value:

The style definitions.