New to Telerik UI for WinForms? Download free 30-day trial

Pinned Rows

RadVirtualGrid rows can be pinned so that the rows appear anchored to the top or bottom of the grid. To pin a row you should use the SetRowPinPosition method where you just need to pass the row index and the desired pin position.


radVirtualGrid1.VirtualGridElement.SetRowPinPosition(2, PinnedRowPosition.Top);

radVirtualGrid1.VirtualGridElement.SetRowPinPosition(2, PinnedRowPosition.Top)

The result is that the row is pined bellow the filter row.

WinForms RadVirtualGrid Pinned Row

To unpin a row you just need to set its pin position to none.


radVirtualGrid1.VirtualGridElement.SetRowPinPosition(2, PinnedRowPosition.None);

radVirtualGrid1.VirtualGridElement.SetRowPinPosition(2, PinnedRowPosition.None)

See Also

In this article