I’ve got a cutom panel class and a property called MaxColumns. When this property is changed I need to force my control to remasure and arrange its contents.
I’ve got a cutom panel class and a property called MaxColumns. When this property
Share
If you have overridden the ArrangeOverride and MesaureOverride methods, just have the control call InvalidateMeasure() when the (Dependency)property MaxColumns changes.
Look to Silverlight Toolkit’s implementation of WrapPanel as an example.