ComboBox content outside window
See original GitHub issueHi,
I’m using MaterialDesignInXamlToolkit
to make a small app.
I have finished configuring material in my app and it worked.
But there is a trouble of ComboBox
When I make my ComboBox
in Grid
to be full-width, as long as I open the ComboBox
, the context menu display out-side its container.
Here is howit looks:
This is my Login.xaml
in which I placed that ComboBox
:
<Page x:Class="MainClient.View.Login"
[..Declaration..]>
<StackPanel>
...
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="256" />
<ColumnDefinition Width="46*" />
<ColumnDefinition Width="51*" />
<ColumnDefinition Width="175*" />
</Grid.ColumnDefinitions>
<TextBlock Text="{lex:Loc TITLE_LANGUAGE}" />
<ComboBox Grid.Column="1"
ItemsSource="{Binding AvailableLanguages}"
SelectedItem="{Binding SelectedLanguage}" Grid.ColumnSpan="3">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Key, Converter={StaticResource LanguageTranslatorConverter}}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</Grid>
</StackPanel>
</Page>
Here is my REPO
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
combobox dropdown window can show beyond the ...
1 Answer 1 · The pop-up is a top-level window which has the same parent as the control. · When the pop-up is...
Read more >Cant select items in a WPF combobox(VSTO Addin) if they ...
When using a Combobox in a WPF UserControl via ElementHost for a VSTO AddIn, the Combobox items that are outside of the parent...
Read more >Select-Only Combobox Example | APG | WAI
The value is set when users press Space , Enter , or Tab , or when focus moves out of the combobox. The...
Read more >How to Use Combo Boxes
This combo box contains an array of strings, but you could just as easily use icons instead. To put anything else into a...
Read more >modal content not able scroll when overflow =initial/visible ...
However I have a Combobox at the end of the form which I am not able to view the values, even when I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@redplane there is also an attached property that you can set that will cause the popup with the items to show below combo box rather than around it.
This should be resolved with the ComboBox redesign in 4.2.1