ClassCellDefinition
This class contains information that specifies how to arrange and display a single cell in the RadGridView when a RowTemplate is used.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class CellDefinition : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged
Inheritance: objectNotifyPropertyBaseCellDefinition
Implements:
Inherited Members
Constructors
CellDefinition()
Initializes a new instance of the CellDefinition class using default values.
Declaration
public CellDefinition()
CellDefinition(string)
Initializes a new instance of the CellDefinition class using specified unique name.
Declaration
public CellDefinition(string uniqueName)
Parameters
uniqueName
The unique name for the column that will be presented by this cell
CellDefinition(string, int, int, int)
Initializes a new instance of the CellDefinition class.
Declaration
public CellDefinition(string uniqueName, int width, int colSpan, int rowSpan)
Parameters
uniqueName
The unique name for the column that will be presented by this cell
width
The desired width of this CellDefinition.
colSpan
The desired column span value
rowSpan
The desired row span value
Properties
BackColor
Gets or sets the background color of this CellDefinition.
Declaration
[Browsable(true)]
public Color BackColor { get; set; }
Property Value
Border
Gets or sets the border width for this CellDefinition.
ColSpan
Gets or sets the cell span value of this CellDefinition.
ColumnIndex
Gets the column index of this CellDefinition.
Row
Gets the RowDefinition that owns this CellDefinition.
Declaration
[Browsable(false)]
public RowDefinition Row { get; }
Property Value
RowIndex
Gets the row index of this CellDefinition.
RowSpan
Gets or sets the row span value of this CellDefinition.
UniqueName
Gets or sets the unique name of the column related with this CellDefinition.
Declaration
[Browsable(true)]
public string UniqueName { get; set; }
Property Value
Width
Gets or sets the desired width of this CellDefinition.