Blogs

The One With

XtraVerticalGrid – Using the Property Grid Control (Transcript)

     

http://tv.devexpress.com/XtraVerticalGrid03.movie

Download Transcript: PDF Word XPS

Transcript

In this lesson, I’ll show you how to display and edit the settings for a button via the property grid control.

1. Let’s drop the “Property Grid Control” onto a form and dock it to the form’s right.

2. To display the settings for the button within the “Property Grid Control”, I bind it to the grid, via the “Selected Object” property.

3. The “Property Grid Control” automatically retrieves public properties from the bound object and creates a row layout.

image

4. Since the “Property Grid Control” implements the functionality provided by our VerticalGrid, the row layout can be customized within the designer.

5. I can, for example, rearrange rows, customize the row settings, assign editors to edit cell values, change the appearance settings, and more…

 
6. I’ll close the designer now and run the application to see the result.

7. Our “Property Grid Control” displays the settings for the button and allows them to be changed.

8. I can change the button’s caption for example.

9. For another example, let’s change its style.

 

10. The “Property Grid Control” can be bound to any object.

To learn more, please see the XtraVerticalGrid’s Help Documentation

Published Sep 30 2008, 08:58 PM by Azret Botash (DevExpress)
Bookmark and Share

Comments

No Comments
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.