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:
Inherited Members
Constructors
Initializes a new instance of the TableStylesGalleryViewModel class.
C#
public TableStylesGalleryViewModel(RadRichTextBox editor, BuiltInStylesVersion builtInStylesVersion)
The editor.
builtInStylesVersionBuiltInStylesVersionThe built in styles version.
Properties
Gets or sets the current selected style.
C#
public StyleDefinition CurrentSelectedStyle { get; set; }
The current selected style.
Gets or sets the current table look.
C#
public TableLook CurrentTableLook { get; set; }
The current table look.
Gets the delete style command.
C#
public ICommand DeleteStyleCommand { get; }
The delete style command.
Gets the manage table styles dialog command.
C#
public ICommand ManageTableStylesDialogCommand { get; }
The manage table styles dialog command.
Gets or sets the style definitions.
C#
public IEnumerable<TableStylesGalleryItemContent> StyleDefinitions { get; }
The style definitions.