ClassRowElementProvider
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
RowElementProvider(GridTableElement)
Initializes a new instance of the RowElementProvider class.
Declaration
public RowElementProvider(GridTableElement rowView)
Parameters
rowView
The row view.
Methods
CreateElement(GridViewRowInfo, object)
Creates the element for the specific data row.
Declaration
public override IVirtualizedElement<GridViewRowInfo> CreateElement(GridViewRowInfo data, object context)
Parameters
data
The data.
context
The context.
Returns
Overrides
GetElement(GridViewRowInfo, object)
Gets the element for the specific data row.
Declaration
public override IVirtualizedElement<GridViewRowInfo> GetElement(GridViewRowInfo data, object context)
Parameters
data
The data.
context
The context.
Returns
Overrides
GetElementHeightByRowType(GridViewRowInfo)
Gets the element height by the row type.
Declaration
public int GetElementHeightByRowType(GridViewRowInfo item)
Parameters
item
The item.
Returns
GetElementSize(GridViewRowInfo)
Gets the size of the element.
Declaration
public override SizeF GetElementSize(GridViewRowInfo item)
Parameters
item
Returns
Overrides
IsCompatible(IVirtualizedElement<GridViewRowInfo>, GridViewRowInfo, object)
Determines whether the specified element is compatible with concrete data.
Declaration
public override bool IsCompatible(IVirtualizedElement<GridViewRowInfo> element, GridViewRowInfo data, object context)
Parameters
element
IVirtualizedElement<GridViewRowInfo>
The element.
data
The data.
context
The context.
Returns
true if the specified element is compatible; otherwise, false.
Overrides