- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.5k
ComboBox
The ComboBox control presents users with a list of options. The list is shown and hidden as the control expands and collapses. In its default state, the list is collapsed, displaying only one choice.
The color of the underline can be changed by applying the TextFieldAssist.UnderlineBrush brush.
<ComboBox Style="{DynamicResource MaterialDesignComboBox}" materialDesign:TextFieldAssist.UnderlineBrush="Chocolate" >
    <ComboBoxItem IsSelected="True">Item 1</ComboBoxItem>
</ComboBox>
The Material Design In XAML Toolkit provides two styles:
- MaterialDesignComboBox
- MaterialDesignFloatingHintComboBox
The default ComboBox in the Material Design.
<ComboBox Style="{DynamicResource MaterialDesignComboBox}">
    <ComboBoxItem IsSelected="True">Item 1</ComboBoxItem>
</ComboBox>
Adds a customizable hint above the item preview.
<ComboBox Style="{DynamicResource MaterialDesignFloatingHintComboBox}" materialDesign:HintAssist.Hint="Hint text">
    <ComboBoxItem IsSelected="True">Item 1</ComboBoxItem>
</ComboBox>
The color of the hint can be changed by applying the HintAssist.Foreground brush.
<ComboBox Style="{DynamicResource MaterialDesignFloatingHintComboBox}" materialDesign:HintAssist.Foreground="DeepPink" materialDesign:HintAssist.Hint="Hint text">
    <ComboBoxItem IsSelected="True">Item 1</ComboBoxItem>
</ComboBox>
If you see any mistake or want to contribute to this wiki feel free.
Home
Contributing
Compiling From Source
Glossary
Getting Started with MDIX
    Getting Started
    Tutorial On YouTube (português-BR)
    Frequently Asked Questions
    Examples Repository
Release Notes
    Pack Icon Changes
    2.0.0 Breaking Changes
Controls
    All Control Styles
    Buttons
    ComboBox
    Dialogs
    PopupBox
    Snackbar
    TextBox
    Toggle Button
    Transitions
    Icons
Theming
    Advanced Theming
    Brush Names
    Custom Palette Hues
    Fonts
    Overriding Material Design Styles
    Swatches and Recommended Colors
Miscellaneous
    MahApps Integration
    Performance
    Strong Naming
    .NET 4.0 Compatibility
    Projects using Material Design
    Understanding Routed Commands