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

Represents a cell data.

Definition

Namespace:Telerik.WinControls.UI.RichTextEditorRibbonUI

Assembly:Telerik.WinControls.RichTextEditor.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, Padding rightBorderMargin, Padding bottomBorderMargin)
Parameters:backgroundColor

The background.

foreColorColor

Color of the fore.

bordersTableGalleryItemBorders

The borders.

rightBorderMarginPadding

The right border margin.

bottomBorderMarginPadding

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 Padding 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 Padding 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