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

Represents a view that enables using row layout similar to the one existing in HTML tables.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class HtmlViewDefinition : TableViewDefinition, IGridViewDefinition

Inheritance: objectTableViewDefinitionHtmlViewDefinition

Implements: IGridViewDefinition

Constructors

C#
public HtmlViewDefinition()

Properties

Gets or sets a the row template that specifies how to visualize the rows in this template.

C#
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public RowTemplate RowTemplate { get; }

Methods

Creates the row layout.

C#
public override IGridRowLayout CreateRowLayout()
Returns:

IGridRowLayout

Overrides: TableViewDefinition.CreateRowLayout()

Creates the view UI element.

C#
public override IRowView CreateViewUIElement(GridViewInfo viewInfo)
Parameters:viewInfoGridViewInfo

The view info.

Returns:

IRowView

Overrides: TableViewDefinition.CreateViewUIElement(GridViewInfo)

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.