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

Pinned Columns

RadVirtualGrid columns can be pinned so that the rows appear anchored to the left or right of the grid. To pin a column you should use the SetColumnPinPosition method where you just need to pass the column index and the desired pin position.


radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.Right);

radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.Right)

The result is that the column is pined to the right.

WinForms RadVirtualGrid Pinned Columns

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


radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.None);

radVirtualGrid1.VirtualGridElement.SetColumnPinPosition(2, PinnedColumnPosition.None)

See Also

In this article