Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1 view
Skip to first unread message

Sebho

unread,
Feb 23, 2010, 4:21:01 AM2/23/10
to
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
--
Sebho

Paul S

unread,
Feb 23, 2010, 7:37:01 AM2/23/10
to
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

0 new messages