Class RowElementProvider
Represents the provider for the data rows in RadGridView.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class RowElementProvider : BaseVirtualizedElementProvider<GridViewRowInfo>, IVirtualizedElementProvider<GridViewRowInfo>
Constructors
RowElementProvider(GridTableElement)
Initializes a new instance of the RowElementProvider class.
Declaration
public RowElementProvider(GridTableElement rowView)
Parameters
GridTableElement
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
GridViewRowInfo
data
The data. |
System.Object
context
The context. |
Returns
IVirtualizedElement<GridViewRowInfo>
|
Overrides
GetElement(GridViewRowInfo, Object)
Gets the element for the specific data row.
Declaration
public override IVirtualizedElement<GridViewRowInfo> GetElement(GridViewRowInfo data, object context)
Parameters
GridViewRowInfo
data
The data. |
System.Object
context
The context. |
Returns
IVirtualizedElement<GridViewRowInfo>
|
Overrides
GetElementHeightByRowType(GridViewRowInfo)
Gets the element height by the row type.
Declaration
public int GetElementHeightByRowType(GridViewRowInfo item)
Parameters
GridViewRowInfo
item
The item. |
Returns
System.Int32
|
GetElementSize(GridViewRowInfo)
Gets the size of the element.
Declaration
public override SizeF GetElementSize(GridViewRowInfo item)
Parameters
GridViewRowInfo
item
|
Returns
System.Drawing.SizeF
|
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
IVirtualizedElement<GridViewRowInfo>
element
The element. |
GridViewRowInfo
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|