Class
CellData

Represents a cell data.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class CellData : INotifyPropertyChanged

Inheritance: objectCellData

Implements: INotifyPropertyChanged

Constructors

CellData(Color, Color)

Initializes a new instance of the CellData class.

Declaration

cs-api-definition
public CellData(Color backgroundColor, Color foreColor)

Parameters

backgroundColor

Color

Color of the background.

foreColor

Color

Color of the fore.

CellData(Color, Color, TableGalleryItemBorders)

Initializes a new instance of the CellData class.

Declaration

cs-api-definition
public CellData(Color background, Color foreColor, TableGalleryItemBorders borders)

Parameters

background

Color

The background.

foreColor

Color

Color of the fore.

borders

TableGalleryItemBorders

The borders.

CellData(Color, Color, TableGalleryItemBorders, Thickness, Thickness)

Initializes a new instance of the CellData class.

Declaration

cs-api-definition
public CellData(Color background, Color foreColor, TableGalleryItemBorders borders, Thickness rightBorderMargin, Thickness bottomBorderMargin)

Parameters

background

Color

The background.

foreColor

Color

Color of the fore.

borders

TableGalleryItemBorders

The borders.

rightBorderMargin

Thickness

The right border margin.

bottomBorderMargin

Thickness

The bottom border margin.

Properties

Background

Gets or sets the background.

Declaration

cs-api-definition
public Color Background { get; set; }

Property Value

Color

The background.

Borders

Gets or sets the borders.

Declaration

cs-api-definition
public TableGalleryItemBorders Borders { get; set; }

Property Value

TableGalleryItemBorders

The borders.

BottomBorderMargin

Gets or sets the left border margin.

Declaration

cs-api-definition
public Thickness BottomBorderMargin { get; set; }

Property Value

Thickness

The left border margin.

ForeColor

Gets or sets the color of the fore.

Declaration

cs-api-definition
public Color ForeColor { get; set; }

Property Value

Color

The color of the fore.

RightBorderMargin

Gets or sets the right border margin.

Declaration

cs-api-definition
public Thickness RightBorderMargin { get; set; }

Property Value

Thickness

The right border margin.

Methods

CopyPropertiesFrom(CellData)

Copies the properties from another instance of the CellData class.

Declaration

cs-api-definition
public void CopyPropertiesFrom(CellData cellData)

Parameters

cellData

CellData

The cell data.

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged