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

Represents a cell data.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class CellData : INotifyPropertyChanged

Inheritance: objectCellData

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the CellData class.

C#
public CellData(Color background, Color foreColor, TableGalleryItemBorders borders, Thickness rightBorderMargin, Thickness bottomBorderMargin)
Parameters:backgroundColor

The background.

foreColorColor

Color of the fore.

bordersTableGalleryItemBorders

The borders.

rightBorderMarginThickness

The right border margin.

bottomBorderMarginThickness

The bottom border margin.

Initializes a new instance of the CellData class.

C#
public CellData(Color background, Color foreColor, TableGalleryItemBorders borders)
Parameters:backgroundColor

The background.

foreColorColor

Color of the fore.

bordersTableGalleryItemBorders

The borders.

Initializes a new instance of the CellData class.

C#
public CellData(Color backgroundColor, Color foreColor)
Parameters:backgroundColorColor

Color of the background.

foreColorColor

Color of the fore.

Properties

Gets or sets the background.

C#
public Color Background { get; set; }
Property Value:

The background.

Gets or sets the borders.

C#
public TableGalleryItemBorders Borders { get; set; }
Property Value:

The borders.

Gets or sets the left border margin.

C#
public Thickness BottomBorderMargin { get; set; }
Property Value:

The left border margin.

Gets or sets the color of the fore.

C#
public Color ForeColor { get; set; }
Property Value:

The color of the fore.

Gets or sets the right border margin.

C#
public Thickness RightBorderMargin { get; set; }
Property Value:

The right border margin.

Methods

Copies the properties from another instance of the CellData class.

C#
public void CopyPropertiesFrom(CellData cellData)
Parameters:cellDataCellData

The cell data.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged