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

This class contains information that specifies how to arrange and display a single row in the RadGridView when a RowTemplate is used.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class RowDefinition : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged

Inheritance: objectNotifyPropertyBaseRowDefinition

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 RowDefinition class using the default height.

C#
public RowDefinition()

Initializes a new instance of the RowDefinition class.

C#
public RowDefinition(int height)
Parameters:heightint

The desired height of this RowDefinition.

Properties

Gets or sets the background color of this RowDefinition.

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

Gets a collection that contains all the cell definitions in the RowDefinition.

C#
[Browsable(true)]
public CellDefinitionsCollection Cells { get; }

Gets or sets the desired height of this RowDefinition.

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

Gets the RowTemplate that owns this RowDefinition.

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

Gets the CellDefinition at the specified index.

C#
[Browsable(false)]
public CellDefinition this[int index] { get; }
Parameters:indexint

The zero based index of the cell to get

Property Value:

The CellDefinition at the specified index.