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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

UserControl Layout issues in GridVirtualizingCellRenderer

Thread ID:





94182 Apr 28,2010 08:14 AM UTC May 3,2010 04:08 PM UTC WPF 2
Tags: GridControl
Administrator [Syncfusion]
Asked On April 28, 2010 08:14 AM UTC

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)

Administrator [Syncfusion]
Replied On April 29, 2010 09:38 AM UTC

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

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon