manugm_1987 0 Junior Poster in Training

Hi

I know this is an simple problem, i have an 2 stackpanels, i n one stackpanel i have button and in other stackpanel i have frame these two stack panels are on Grid. Now when i maximize my window the contorls wihtin stackpanel are not getting resized, but stackpanel gets resized. How can i resize my button and frame to size of stackpanel when maximized or minimized

Thnak you