WPF XAML ComboBox Width
Posted
by griegs
on Stack Overflow
See other posts from Stack Overflow
or by griegs
Published on 2010-05-06T01:26:26Z
Indexed on
2010/05/06
2:28 UTC
Read the original article
Hit count: 391
I have the following xaml with all the binding removed;
<StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Height="20">
<ComboBox x:Name="ddlDay" Width="30"/>
If I set the width of the combobox to 200 it works but if I set it to 50 it doesn't size past the default.
I'm kinda new to xaml so is this default behavior or what do I do to make the combobox small?
© Stack Overflow or respective owner