Saravanan,
Thanks for the reply. But I was looking for something like a built in designer (Excel like) for formatting the cells.
None-the-less now i want to try a different approach. I would like to select a few random cells, right click and click onto the format cells option. This opens up a modal window which has a property grid. I have set propertygrid.selectedobject = gridControl.
Q1 -> When I change any property in the propertygrid, the change gets applied to the whole of the grid rather than just the selected cells. How can I make the change implemented only to the selected cells?
Q2 -> In the example that you provided me in your reply, you are setting each style entity of the list when apply button is clicked. Which property(s) of the propertygrid exposes the style that i can collectively apply to the selected cells instead of setting individual properties of the style object in the entity?
thanks
vivek
>Hi Vivek,
1, We want the user to be able to select cells and then format the selected cells via some form of dialog box
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Please refer to this small sample that shows how formatting can be applied to the selected cells, similar to Excel.
http://websamples.syncfusion.com/samples/Grid.Windows/F61840/main.htm2, There should be an option persist such format setting
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can achieve this serializing the grid to a file, while closing the application and reload it from the form load event.
Please refer to the serialization sample that was shipped with our product. You can find it from the following location.
"\Syncfusion\EssentialStudio\5.1.0.51\Windows\Grid.Windows\Samples\2.0\Serialization\GridControl\cs"
Best Regards,
Saravanan