Keboo on colorThoughts
Working generation of brushes i… (compare)
Keboo on colorThoughts
More thoughts (compare)
Keboo on colorThoughts
Idea on theme brushes (compare)
Keboo on master
Update IsItemsHost on changes t… (compare)
@berkereozer Looks to me like you can simply adjust the combo box items to the height you need, the combobox performs like a normal WPF control in this sense, see below. However it's better to use a ItemTemplate that way you specify the format for each item in one place. See here - Data binding combo box
<ComboBox materialDesign:HintAssist.Hint="OS" Style="{StaticResource MaterialDesignFloatingHintComboBox}">
<ComboBoxItem>
<StackPanel Orientation="Horizontal" Height="80">
<Rectangle Fill="Black" Width="32" Height="32" Margin="0,2,5,2" />
<TextBlock Text="First OS" VerticalAlignment="Center" />
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel Orientation="Horizontal" Height="80">
<Rectangle Fill="red" Width="32" Height="32" Margin="0,2,5,2" />
<TextBlock Text="Second OS" VerticalAlignment="Center" />
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel Orientation="Horizontal" Height="80">
<Rectangle Fill="Purple" Width="32" Height="32" Margin="0,2,5,2" />
<TextBlock Text="Third OS" VerticalAlignment="Center"/>
</StackPanel>
</ComboBoxItem>
</ComboBox>
Hello, I am trying to use combobox. But when I click or set IsDropDownOpen = "true" it throw me a ArgumentOutOfRange exception. Does anyone know how to fix it?
*This is the code for ComboBox
<ComboBox Style="{StaticResource MaterialDesignOutlinedComboBox}" Width="150" ItemsSource="{Binding Strings}" IsDropDownOpen="True"/>
*Strings is just a List<string> to test and i am sure there is no problem with it
<DatePicker Grid.Row="3" Grid.Column="1"
Padding="5"
Margin="5,5,20,5"
Style="{StaticResource MaterialDesignOutlinedDatePicker}"
SelectedDate="{Binding Path=Employee.DateOfBirth, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">