Class
CellDefinition

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:

cs-api-definition
public class CellDefinition : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged

Inheritance: objectNotifyPropertyBaseCellDefinition

Implements: INotifyPropertyChangedINotifyPropertyChangingEx

Inherited Members NotifyPropertyBase.SuspendNotifications()NotifyPropertyBase.ResumeNotifications(bool)NotifyPropertyBase.ResumeNotifications()NotifyPropertyBase.OnPropertyChanged(string)NotifyPropertyBase.OnPropertyChanged(PropertyChangedEventArgs)NotifyPropertyBase.ProcessPropertyChanged(PropertyChangedEventArgs)NotifyPropertyBase.OnPropertyChanging(string, object, object)NotifyPropertyBase.OnPropertyChanging(string)NotifyPropertyBase.OnPropertyChanging(PropertyChangingEventArgsEx)NotifyPropertyBase.ProcessPropertyChanging(PropertyChangingEventArgsEx)NotifyPropertyBase.SetProperty<T>(string, ref T, T)NotifyPropertyBase.IsSuspendedNotifyPropertyBase.PropertyChangedNotifyPropertyBase.PropertyChanging

Constructors

CellDefinition()

Initializes a new instance of the CellDefinition class using default values.

Declaration

cs-api-definition
public CellDefinition()

CellDefinition(string)

Initializes a new instance of the CellDefinition class using specified unique name.

Declaration

cs-api-definition
public CellDefinition(string uniqueName)

Parameters

uniqueName

string

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

cs-api-definition
public CellDefinition(string uniqueName, int width, int colSpan, int rowSpan)

Parameters

uniqueName

string

The unique name for the column that will be presented by this cell

width

int

The desired width of this CellDefinition.

colSpan

int

The desired column span value

rowSpan

int

The desired row span value

Properties

BackColor

Gets or sets the background color of this CellDefinition.

Declaration

cs-api-definition
[Browsable(true)]
public Color BackColor { get; set; }

Property Value

Color

Border

Gets or sets the border width for this CellDefinition.

Declaration

cs-api-definition
[Browsable(true)]
public int Border { get; set; }

Property Value

int

ColSpan

Gets or sets the cell span value of this CellDefinition.

Declaration

cs-api-definition
[Browsable(true)]
public int ColSpan { get; set; }

Property Value

int

ColumnIndex

Gets the column index of this CellDefinition.

Declaration

cs-api-definition
[Browsable(false)]
public int ColumnIndex { get; }

Property Value

int

Row

Gets the RowDefinition that owns this CellDefinition.

Declaration

cs-api-definition
[Browsable(false)]
public RowDefinition Row { get; }

Property Value

RowDefinition

RowIndex

Gets the row index of this CellDefinition.

Declaration

cs-api-definition
[Browsable(false)]
public int RowIndex { get; }

Property Value

int

RowSpan

Gets or sets the row span value of this CellDefinition.

Declaration

cs-api-definition
[Browsable(true)]
public int RowSpan { get; set; }

Property Value

int

UniqueName

Gets or sets the unique name of the column related with this CellDefinition.

Declaration

cs-api-definition
[Browsable(true)]
public string UniqueName { get; set; }

Property Value

string

Width

Gets or sets the desired width of this CellDefinition.

Declaration

cs-api-definition
[Browsable(true)]
public int Width { get; set; }

Property Value

int