Hi,
I've a DataGrid with some comboboxes integrated into them. Most often, when I tap onto the combobox, it's width is equal to the column width in which the combobox is embedded. Sometimes, the width equals to the screen width.
In my case, I need the complete screen width, because no information is visible, if the combobox width is equal to the column size.
How can I force the combobox selection to always have the right size?
The combobox is integrated like this:
<datagrid:GridComboBoxColumn
HeaderText="Source"
LoadUIView="True"
ItemsSourceSelector="{StaticResource LocationSourceSelector}"
MappingName="SelectedID"
ValueMemberPath="LocationId"
DisplayMemberPath="Name"
AllowEditing="True"
/>
Thanks for your help.
Best regards,
Stefan Maton