GridView : Mise en forme automatique par code (Autoformat by codin

S

Sebho

Hi,

in VS we can apply a Format (a look ?) to a GridView with a Wizard that
propose some pre-defined styles (professional, simple, sea, etc.)

it is possible to define that style by code ?

Thanks
 
P

Paul S

Create a dummy project. Add a Gridview and select the style you like. Look in
the generated code to see what you need to add to your code.

The properties on your gridview object have simalar names as the ones in the
markup in your dummy project. Set the properties.

If that's not clear to you specify what property you would like to see set
as described.

/Paul S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top