Data ListRow Template Property
The template control type to use for rows in the data source
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public Type? RowTemplate { get; set; }VB
Public Property RowTemplate As Type
Get
SetC++
public:
property Type^ RowTemplate {
Type^ get ();
void set (Type^ value);
}F#
member RowTemplate : Type with get, setProperty Value
TypeRemarks
One row template will be created for each row in the data source. Rows are initialized and
bound as they are scrolled into view to improve performance. This property must be set in order to
edit information in the data source.
Example
C#
// AddressTemplate is a user control derived from TemplateControl
dataList.RowTemplate = typeof(AddressTemplate);VB
' AddressTemplate is a user control derived from TemplateControl
dataList.RowTemplate = GetType(AddressTemplate)C++
No code example is currently available or this language may not be supported.F#
No code example is currently available or this language may not be supported.Exceptions
| ArgumentException | This is thrown if the specified type is not derived from TemplateControl. |