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

Represents table gallery item view-model.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class TableGalleryItemViewModel : INotifyPropertyChanged

Inheritance: objectTableGalleryItemViewModel

Implements: INotifyPropertyChanged

Constructors

C#
public TableGalleryItemViewModel(StyleDefinition tableStyle, TableLook tableLook)
Parameters:tableStyleStyleDefinitiontableLookTableLook

Initializes a new instance of the TableGalleryItemViewModel class.

C#
public TableGalleryItemViewModel(StyleDefinition tableStyle)
Parameters:tableStyleStyleDefinition

The table style.

Properties

Gets or sets the table data.

C#
public List<CellData> TableData { get; }
Property Value:

The table data.

Gets the table dimension.

C#
public int TableDimension { get; }
Property Value:

The table dimension.

Gets the table style.

C#
public StyleDefinition TableStyle { get; }
Property Value:

The table style.

Methods

C#
protected void OnTableLayoutInvalidated()

Releases this instance.

C#
public void Release()