How to have a control fill all available space

Posted by Neir0 on Stack Overflow See other posts from Stack Overflow or by Neir0
Published on 2010-03-13T17:34:11Z Indexed on 2010/03/13 19:55 UTC
Read the original article Hit count: 368

Filed under:
|
|

I have a xaml code:

<Grid>
    <WrapPanel>
    <TextBox ></TextBox>
    <Button Content="GetIt" />
    </WrapPanel>
</Grid>

How i can to get all available space for textBox?

i want to do something like that:

|[__________][GetIt]|

© Stack Overflow or respective owner

Related posts about xaml

Related posts about wpf