Telerik blogs

You probably know RadGridView for WinForms. It became a must for every serious business application for its great and widely used features – load-on-demand hierarchyself-referencing hierarchygroupingsortingfilteringexporting capabilities and many others.

There is one more cool feature that will greatly improve the user experience of your application – our built-in drag and drop mechanism. This is the core feature of the application that we would like to introduce today, namely Telerik Checkers.

Checkers built with RadGridView for WinForms by Telerik

 

As the name implies, Telerik Checkers is an implementation of the standard Checkers game and follows most of its rules. The drag and drop restrictions and customizations are possible thanks to the capabilities of RadDragDropService. This service allows you to move a specific cell to a specific location, easily change the drag hint and have control over the data of the dragged cell and the target cell.

As you can see in the screenshot above, you can tune the drag and drop restrictions by checking/unchecking the checkboxes on the right side of the board. In addition, if you are interested in the style of the board and want to master the CellFormatting events of RadGridView, you will be happy to know that this style is created by handling the ViewCellFormatting event.

So, what are you waiting for? Go to the Telerik Checkers code library and let the game begin!


About the Author

Nikolay Diyanov

Diyanov is the Product Manager of the Native Mobile UI division at Progress. Delivering outstanding solutions that make developers' lives easier is his passion and the biggest reward in his work. In his spare time, Nikolay enjoys travelling around the world, hiking, sun-bathing and kite-surfing.

Find him on Twitter @n_diyanov or on LinkedIn.

Comments

Comments are disabled in preview mode.