Class RowTemplate
This class contains information that specifies how to arrange and display rows in the RadGridView.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class RowTemplate : NotifyPropertyBase, INotifyPropertyChangingEx, INotifyPropertyChanged
Constructors
RowTemplate()
Properties
Border
Gets or sets the border width for this RowTemplate.
Declaration
public int Border { get; set; }
Property Value
System.Int32
|
CellPadding
Gets or sets the cell padding for this RowTemplate.
Declaration
public int CellPadding { get; set; }
Property Value
System.Int32
|
CellSpacing
Gets or sets the cell spacing for this RowTemplate.
Declaration
public int CellSpacing { get; set; }
Property Value
System.Int32
|
Item[Int32]
Gets the RowDefinition at the specified index.
Declaration
public RowDefinition this[int index] { get; }
Parameters
System.Int32
index
The zero based index of the row to get |
Property Value
RowDefinition
The RowDefinition at the specified index. |
Item[Int32, Int32]
Gets the CellDefinition at the specified row and column
Declaration
public CellDefinition this[int row, int column] { get; }
Parameters
System.Int32
row
The zero based row index of the row containing the cell |
System.Int32
column
The zero based column index of the column containing the cell |
Property Value
CellDefinition
The CellDefinition at the spfecified row and column |
Rows
Gets a collection that contains all the row definitions in the RowTemplate.
Declaration
public RowDefinitionsCollection Rows { get; }
Property Value
RowDefinitionsCollection
|
Methods
ReadXml(Stream)
Reads XML data into the RowTemplate using the specified System.IO.Stream.
Declaration
public void ReadXml(Stream stream)
Parameters
System.IO.Stream
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
System.String
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
System.IO.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
public void WriteXml(string fileName)
Parameters
System.String
fileName
The file to which to write the XML data. |