RowElementProvider
Represents the provider for the data rows in RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class RowElementProvider : BaseVirtualizedElementProvider<GridViewRowInfo>, IVirtualizedElementProvider<GridViewRowInfo>
Inheritance: objectBaseVirtualizedElementProvider<GridViewRowInfo>RowElementProvider
Implements:
Inherited Members
Constructors
Initializes a new instance of the RowElementProvider class.
public RowElementProvider(GridTableElement rowView)
The row view.
Methods
Creates the element for the specific data row.
public override IVirtualizedElement<GridViewRowInfo> CreateElement(GridViewRowInfo data, object context)
The data.
contextobjectThe context.
Returns:Overrides:
Gets the element for the specific data row.
public override IVirtualizedElement<GridViewRowInfo> GetElement(GridViewRowInfo data, object context)
The data.
contextobjectThe context.
Returns:Overrides:
Gets the element height by the row type.
public int GetElementHeightByRowType(GridViewRowInfo item)
The item.
Returns:Gets the size of the element.
public override SizeF GetElementSize(GridViewRowInfo item)
Overrides:
Determines whether the specified element is compatible with concrete data.
public override bool IsCompatible(IVirtualizedElement<GridViewRowInfo> element, GridViewRowInfo data, object context)
The element.
dataGridViewRowInfoThe data.
contextobjectThe context.
Returns:true if the specified element is compatible; otherwise, false.
Overrides: