Class CellDefinition
This class contains information that specifies how to arrange and display a single cell in the RadGridView when a RowTemplate is used.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class CellDefinition : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged
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
|
System.String
uniqueName
The unique name for the column that will be presented by this cell |
CellDefinition(String, Int32, Int32, Int32)
Initializes a new instance of the CellDefinition class.
Declaration
public CellDefinition(string uniqueName, int width, int colSpan, int rowSpan)
Parameters
|
System.String
uniqueName
The unique name for the column that will be presented by this cell |
|
System.Int32
width
The desired width of this CellDefinition. |
|
System.Int32
colSpan
The desired column span value |
|
System.Int32
rowSpan
The desired row span value |
Properties
BackColor
Gets or sets the background color of this CellDefinition.
Declaration
public Color BackColor { get; set; }
Property Value
|
System.Drawing.Color
|
Border
Gets or sets the border width for this CellDefinition.
Declaration
public int Border { get; set; }
Property Value
|
System.Int32
|
ColSpan
Gets or sets the cell span value of this CellDefinition.
Declaration
public int ColSpan { get; set; }
Property Value
|
System.Int32
|
ColumnIndex
Gets the column index of this CellDefinition.
Declaration
public int ColumnIndex { get; }
Property Value
|
System.Int32
|
Row
Gets the RowDefinition that owns this CellDefinition.
Declaration
public RowDefinition Row { get; }
Property Value
|
RowDefinition
|
RowIndex
Gets the row index of this CellDefinition.
Declaration
public int RowIndex { get; }
Property Value
|
System.Int32
|
RowSpan
Gets or sets the row span value of this CellDefinition.
Declaration
public int RowSpan { get; set; }
Property Value
|
System.Int32
|
UniqueName
Gets or sets the unique name of the column related with this CellDefinition.
Declaration
public string UniqueName { get; set; }
Property Value
|
System.String
|
Width
Gets or sets the desired width of this CellDefinition.
Declaration
public int Width { get; set; }
Property Value
|
System.Int32
|