ClassRowTemplate
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:
public class RowTemplate : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged
Inheritance: objectNotifyPropertyBaseRowTemplate
Implements:
Inherited Members
Constructors
RowTemplate()
Initializes a new instance of the RowTemplate class.
Declaration
public RowTemplate()
Properties
Border
Gets or sets the border width for this RowTemplate.
CellPadding
Gets or sets the cell padding for this RowTemplate.
Declaration
[Browsable(true)]
public int CellPadding { get; set; }
Property Value
CellSpacing
Gets or sets the cell spacing for this RowTemplate.
Declaration
[Browsable(true)]
public int CellSpacing { get; set; }
Property Value
Rows
Gets a collection that contains all the row definitions in the RowTemplate.
Declaration
[Browsable(true)]
public RowDefinitionsCollection Rows { get; }
Property Value
this[int, int]
Gets the CellDefinition at the specified row and column
Declaration
[Browsable(false)]
public CellDefinition this[int row, int column] { get; }
Parameters
row
The zero based row index of the row containing the cell
column
The zero based column index of the column containing the cell
Property Value
The CellDefinition at the spfecified row and column
this[int]
Gets the RowDefinition at the specified index.
Declaration
[Browsable(false)]
public RowDefinition this[int index] { get; }
Parameters
index
The zero based index of the row to get
Property Value
The RowDefinition at the specified index.
Methods
ReadXml(Stream)
Reads XML data into the RowTemplate using the specified System.IO.Stream.
Declaration
public void ReadXml(Stream stream)
Parameters
stream
The Stream from which to read.
ReadXml(string)
Reads XML data into the RowTemplate using the specified file.
Declaration
public void ReadXml(string fileName)
Parameters
fileName
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
public void WriteXml(Stream stream)
Parameters
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
public void WriteXml(string fileName)
Parameters
fileName
The file to which to write the XML data.