New to Telerik UI for WinFormsStart a free 30-day trial

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:

C#
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

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

C#
public CellDefinition()

Initializes a new instance of the CellDefinition class.

C#
public CellDefinition(string uniqueName, int width, int colSpan, int rowSpan)
Parameters:uniqueNamestring

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

widthint

The desired width of this CellDefinition.

colSpanint

The desired column span value

rowSpanint

The desired row span value

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

C#
public CellDefinition(string uniqueName)
Parameters:uniqueNamestring

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

Properties

Gets or sets the background color of this CellDefinition.

C#
[Browsable(true)]
public Color BackColor { get; set; }

Gets or sets the border width for this CellDefinition.

C#
[Browsable(true)]
public int Border { get; set; }

Gets or sets the cell span value of this CellDefinition.

C#
[Browsable(true)]
public int ColSpan { get; set; }

Gets the column index of this CellDefinition.

C#
[Browsable(false)]
public int ColumnIndex { get; }

Gets the RowDefinition that owns this CellDefinition.

C#
[Browsable(false)]
public RowDefinition Row { get; }

Gets the row index of this CellDefinition.

C#
[Browsable(false)]
public int RowIndex { get; }

Gets or sets the row span value of this CellDefinition.

C#
[Browsable(true)]
public int RowSpan { get; set; }

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

C#
[Browsable(true)]
public string UniqueName { get; set; }

Gets or sets the desired width of this CellDefinition.

C#
[Browsable(true)]
public int Width { get; set; }