WPF: When is a WrapPanel full.

Posted by rathkopf on Stack Overflow See other posts from Stack Overflow or by rathkopf
Published on 2009-02-04T18:57:56Z Indexed on 2010/03/13 5:05 UTC
Read the original article Hit count: 400

Filed under:
|
|

I'm using a WrapPanel to display variable height items in columns. The wrappanel has a constrained size.

Is there an way to determine when the WrapPanel is 'full'? I will then page to another panel with an animation.

I've looked at the ArrangeOverride of the items that are the panels children, but they always seem to be getting all the space they want. I need a way to determine when they begin getting clipped.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wrappanel