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

This class contains information that specifies how to arrange and display rows in the RadGridView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class RowTemplate : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged

Inheritance: objectNotifyPropertyBaseRowTemplate

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 RowTemplate class.

C#
public RowTemplate()

Properties

Gets or sets the border width for this RowTemplate.

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

Gets or sets the cell padding for this RowTemplate.

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

Gets or sets the cell spacing for this RowTemplate.

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

Gets a collection that contains all the row definitions in the RowTemplate.

C#
[Browsable(true)]
public RowDefinitionsCollection Rows { get; }

Gets the CellDefinition at the specified row and column

C#
[Browsable(false)]
public CellDefinition this[int row, int column] { get; }
Parameters:rowint

The zero based row index of the row containing the cell

columnint

The zero based column index of the column containing the cell

Property Value:

The CellDefinition at the spfecified row and column

Gets the RowDefinition at the specified index.

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

The zero based index of the row to get

Property Value:

The RowDefinition at the specified index.

Methods

Reads XML data into the RowTemplate using the specified System.IO.Stream.

C#
public void ReadXml(Stream stream)
Parameters:streamStream

The Stream from which to read.

Reads XML data into the RowTemplate using the specified file.

C#
public void ReadXml(string fileName)
Parameters:fileNamestring

The filename (including the path) from which to read.

Writes the current contents of the RowTemplate as XML using the specified Stream.

C#
public void WriteXml(Stream stream)
Parameters:streamStream

The stream to which the data will be written.

Writes the current contents of the RowTemplate as XML using the specified file.

C#
public void WriteXml(string fileName)
Parameters:fileNamestring

The file to which to write the XML data.