ClassCellData
Represents a cell data.
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI.RibbonControls.TableStylesGallery.Models
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class CellData : INotifyPropertyChanged
Inheritance: objectCellData
Implements:
Constructors
CellData(Color, Color)
Initializes a new instance of the CellData class.
Declaration
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
public CellData(Color background, Color foreColor, TableGalleryItemBorders borders)
Parameters
background
Color
The background.
foreColor
Color
Color of the fore.
borders
The borders.
CellData(Color, Color, TableGalleryItemBorders, Thickness, Thickness)
Initializes a new instance of the CellData class.
Declaration
public CellData(Color background, Color foreColor, TableGalleryItemBorders borders, Thickness rightBorderMargin, Thickness bottomBorderMargin)
Parameters
background
Color
The background.
foreColor
Color
Color of the fore.
borders
The borders.
rightBorderMargin
Thickness
The right border margin.
bottomBorderMargin
Thickness
The bottom border margin.
Properties
Background
Gets or sets the background.
Declaration
public Color Background { get; set; }
Property Value
Color
The background.
Borders
Gets or sets the borders.
Declaration
public TableGalleryItemBorders Borders { get; set; }
Property Value
The borders.
BottomBorderMargin
Gets or sets the left border margin.
Declaration
public Thickness BottomBorderMargin { get; set; }
Property Value
Thickness
The left border margin.
ForeColor
Gets or sets the color of the fore.
Declaration
public Color ForeColor { get; set; }
Property Value
Color
The color of the fore.
RightBorderMargin
Gets or sets the right border margin.
Declaration
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
public void CopyPropertiesFrom(CellData cellData)
Parameters
cellData
The cell data.
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements