Re: Dynamically changing styles in DataGrid

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"marss" <marss.ua@xxxxxxxxx> wrote in message
news:1187859113.453490.212040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 23 , 05:41, "tshad" <t...@xxxxxxxx> wrote:

How can I do this in the PreRender section (or another area) if the size
is
set in a style?

If width is set by means of style then change style.
DataGrid1.Style["width"] = "551px";

So that's how that is done. I didn't know you could access the styles that
way.

Thanks,

Tom

Regards,
Mykola
http://marss.co.ua



.