WPF Datagrid Column Width codebehind

Posted by mikemuhl on Stack Overflow See other posts from Stack Overflow or by mikemuhl
Published on 2010-02-22T14:30:22Z Indexed on 2010/06/17 8:03 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

Hi, i would like to replace the following xaml code :

<Custom:DataGridTextColumn Header=" " Width="*"/>in codebehind. This xaml code fills my header to the end with my style..

this is what i want to get

|name | number | this area uses "mystyle" end of grid ->|

this is what i now get :

|name | number | unstyled area! end of grid ->|

as u see, i would like to fill the unstyled area with my style, done this with xaml: now need in cb pls ;)

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf