Page 1 of 1

Custom Panels

Posted: 07 Jun 2014, 12:22
by g33rt
Hi,

I'd like to create a Custom Panel very much as described here : http://stackoverflow.com/questions/8067 ... -wrappanel

My Panel will then serve as an ItemsPanelTemplate in an ItemsControl. The thing is, as the API is slightly different from WPF, its unclear to me how to go about, or if it's possible at all. Signature of virtual methods of the Panels class are quite different from those in WPF ...

Any suggestions?

Geert

Re: Custom Panels

Posted: 09 Jun 2014, 23:04
by sfernandez
The C# API doesn't have support for Custom Panels. The virtual methods for overriding Measure and Arrange are not available yet. Sorry for the inconvenience :(

If you want to push the development of this feature you can create a ticket in the bugtracker.

Re: Custom Panels

Posted: 10 Jun 2014, 08:49
by g33rt
Hi,

Thanks for the reply. I found a "creative" workaround using the WrapPanel, so it's not that urgent anymore :-)

Geert