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