ClassTableStylesGalleryViewModel
Represents table styles gallery view-model.
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI.RibbonControls.TableStylesGallery.ViewModels
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TableStylesGalleryViewModel : RadRichTextBoxViewModelBase, INotifyPropertyChanged
Inheritance: objectViewModelBaseRadRichTextBoxViewModelBaseTableStylesGalleryViewModel
Implements:
Inherited Members
Constructors
TableStylesGalleryViewModel(RadRichTextBox, BuiltInStylesVersion)
Initializes a new instance of the TableStylesGalleryViewModel class.
Declaration
public TableStylesGalleryViewModel(RadRichTextBox editor, BuiltInStylesVersion builtInStylesVersion)
Parameters
editor
The editor.
builtInStylesVersion
The built in styles version.
Properties
CurrentSelectedStyle
Gets or sets the current selected style.
Declaration
public StyleDefinition CurrentSelectedStyle { get; set; }
Property Value
The current selected style.
CurrentTableLook
Gets or sets the current table look.
Declaration
public TableLook CurrentTableLook { get; set; }
Property Value
The current table look.
DeleteStyleCommand
Gets the delete style command.
Declaration
public ICommand DeleteStyleCommand { get; }
Property Value
The delete style command.
ManageTableStylesDialogCommand
Gets the manage table styles dialog command.
Declaration
public ICommand ManageTableStylesDialogCommand { get; }
Property Value
The manage table styles dialog command.
StyleDefinitions
Gets or sets the style definitions.
Declaration
public IEnumerable<TableStylesGalleryItemContent> StyleDefinitions { get; }
Property Value
IEnumerable<TableStylesGalleryItemContent>
The style definitions.