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.
Unfortunately, activation email could not send to your email. Please try again.

UserControl Layout issues in GridVirtualizingCellRenderer

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 05:38 AM

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

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On May 3, 2010 12:08 PM

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

CONFIRMATION

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.

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.

;