We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

UserControl Layout issues in GridVirtualizingCellRenderer

I am using GridVirtualizingCellRenderer to render a UserControl in a WPF Grid cell.
The UserControl contains a DockPanel which contains 3 controls. A textBox which is docked left and 2 buttons that are docked right, but when this is rendered in the grid all the controls are stacked up on Left. Any ideas?
(I have also tried using a Grid layout in the control but the result was much the same)


2 Replies

AD Administrator Syncfusion Team April 29, 2010 09:38 AM UTC

This works fine if I use a Templated Control in place of a UserControl


MS Mohamed Suhaib Fahad A. Syncfusion Team May 3, 2010 04:08 PM UTC

Hi Simon,

I think the UserControl that you are using in the virtualized cell is not measured fully. This happens sometimes when you use a complex control inside a cell. If you can work it out with a templated control, that should be the easiest way to workaround it.

Thanks,
Fahad

Loader.
Live Chat Icon For mobile
Up arrow icon