Class
RowTemplate

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:

cs-api-definition
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

RowTemplate()

Initializes a new instance of the RowTemplate class.

Declaration

cs-api-definition
public RowTemplate()

Properties

Border

Gets or sets the border width for this RowTemplate.

Declaration

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

Property Value

int

CellPadding

Gets or sets the cell padding for this RowTemplate.

Declaration

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

Property Value

int

CellSpacing

Gets or sets the cell spacing for this RowTemplate.

Declaration

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

Property Value

int

Rows

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

Declaration

cs-api-definition
[Browsable(true)]
public RowDefinitionsCollection Rows { get; }

Property Value

RowDefinitionsCollection

this[int, int]

Gets the CellDefinition at the specified row and column

Declaration

cs-api-definition
[Browsable(false)]
public CellDefinition this[int row, int column] { get; }

Parameters

row

int

The zero based row index of the row containing the cell

column

int

The zero based column index of the column containing the cell

Property Value

CellDefinition

The CellDefinition at the spfecified row and column

this[int]

Gets the RowDefinition at the specified index.

Declaration

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

Parameters

index

int

The zero based index of the row to get

Property Value

RowDefinition

The RowDefinition at the specified index.

Methods

ReadXml(Stream)

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

Declaration

cs-api-definition
public void ReadXml(Stream stream)

Parameters

stream

Stream

The Stream from which to read.

ReadXml(string)

Reads XML data into the RowTemplate using the specified file.

Declaration

cs-api-definition
public void ReadXml(string fileName)

Parameters

fileName

string

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

WriteXml(Stream)

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

Declaration

cs-api-definition
public void WriteXml(Stream stream)

Parameters

stream

Stream

The stream to which the data will be written.

WriteXml(string)

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

Declaration

cs-api-definition
public void WriteXml(string fileName)

Parameters

fileName

string

The file to which to write the XML data.