Class
TableStylesGalleryViewModel

Represents table styles gallery view-model.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class TableStylesGalleryViewModel : RadRichTextBoxViewModelBase, INotifyPropertyChanged

Inheritance: objectViewModelBaseRadRichTextBoxViewModelBaseTableStylesGalleryViewModel

Implements: INotifyPropertyChanged

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

Constructors

TableStylesGalleryViewModel(RadRichTextBox, BuiltInStylesVersion)

Initializes a new instance of the TableStylesGalleryViewModel class.

Declaration

cs-api-definition
public TableStylesGalleryViewModel(RadRichTextBox editor, BuiltInStylesVersion builtInStylesVersion)

Parameters

editor

RadRichTextBox

The editor.

builtInStylesVersion

BuiltInStylesVersion

The built in styles version.

Properties

CurrentSelectedStyle

Gets or sets the current selected style.

Declaration

cs-api-definition
public StyleDefinition CurrentSelectedStyle { get; set; }

Property Value

StyleDefinition

The current selected style.

CurrentTableLook

Gets or sets the current table look.

Declaration

cs-api-definition
public TableLook CurrentTableLook { get; set; }

Property Value

TableLook

The current table look.

DeleteStyleCommand

Gets the delete style command.

Declaration

cs-api-definition
public ICommand DeleteStyleCommand { get; }

Property Value

ICommand

The delete style command.

ManageTableStylesDialogCommand

Gets the manage table styles dialog command.

Declaration

cs-api-definition
public ICommand ManageTableStylesDialogCommand { get; }

Property Value

ICommand

The manage table styles dialog command.

StyleDefinitions

Gets or sets the style definitions.

Declaration

cs-api-definition
public IEnumerable<TableStylesGalleryItemContent> StyleDefinitions { get; }

Property Value

IEnumerable<TableStylesGalleryItemContent>

The style definitions.