Hello,
How could I make the width of the combobox to be the same as the column's width in XamGrid? I have tried to use HorizontalContentAlignment but it does not work for me.
Anyone can help? Thank you very much
Thank you very much. It seems the I put "HorizontalContentAlignment="Stretch" " to a wrong place.
--Shirley
Hi Shirley,
sorry for the late response.
In your case you need to set the HorizontalContentAlignment="Streach" on the the UnboundColumn like the following:
<ig:UnboundColumn x:Name="cobocolumn" Key="cobo" Width="Auto" MinimumWidth="200" IsFixed="Right" HorizontalContentAlignment="Stretch">
Do you really need to use Unbound column? I would advice to use ComboBoxColumn, you could also check this sample out.
Regards,
Could anyone help please?
Thank you for your quick reply.
Here is an example solution.
I am using InfragisticsSL5.v11.2
Hi,
could you please provide more details on this - sample solution would be best or at least some xaml.
Is this a ComboBoxColumn or a TemplateColumn?
Also it will be helpful to say which version and build of the assemblies you are using.