Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
Column "Spring"
posted

Does anyone have any handy tips for making a column in a grid "spring" to fill the entire row when it's not the last column in the grid - Say I have 2 columns, the first is some kind of text, and the last 2 are buttons - how could I make the buttons butt up against the right side of the grid and the text column fill the remaining portion on the left?

Cheers,

Mark

  • 469350
    Verified Answer
    Offline posted

    Hi Mark,

    Try setting the MinWidth and MaxWidth on the button columns to the same as the Width. Then set AutoFitStyle to ResizeAllColumns.