I am using around 10-15 controls inside a WPF ToolbarTray control, Now the issue is while I am changing the resolution the controls present in it is not adjusting according to my need in case of Maximized window. For more detail I attached the screenshot below.
Toolbar Tray control appearing originally:

Toolbar Tray need to appear like this(Which I am trying):

Can anybody tell me how to customize or what to do to achieve the second image like ToolbarTray.Any help is appreciated.
Thanks in advance,
Update:
<ToolBarTray Background="White">
<ToolBar>
<Button
Width="50" Content="hi"/>
<Button
Width="100" Content="bye"/>
<Button
Content="welcome"/>
<Button
Width="20"/>
<Button Content="Welcome"/>
<Separator />
<Button
ToolBar.OverflowMode="Always" Content="save" />
<Button
ToolBar.OverflowMode="Always" Content="open" />
<Button
ToolBar.OverflowMode="AsNeeded" Content="bmp" />
</ToolBar>
<ToolBar HorizontalAlignment="Right">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="New Hi1"/>
<Button Content="New Hi2"/>
<Button Content="New Hi3"/>
</StackPanel>
</ToolBar>
</ToolBarTray>
I found the solution of my problem, now I am using a Grid inside the ToolBar control and adjusting the size of one column of the Grid(toolbarGrid) to make my controls as seen in my second Image.
Code: