Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I can't stretch ComboBox & TextBox when I add them into StackPanel to be in one line.
I can control the ComboBox if it is outside StackPanel otherwise properites can not effect them while they are in StackPanel.
Is there any solution for this problem?
Thanks in advance.
<Grid>
<StackPanel >
<StackPanel Orientation="Horizontal">
<TextBox x:Name="TextBox1" Width="65"></TextBox>
<ComboBox x:Name="ComboBox1" Height="22" SelectedIndex="0"></ComboBox>
</StackPanel>
</StackPanel>
</Grid>
Solved! Go to Solution.