1
Vote

Doesn't update when the columns are resized.

description

When some Star* and Auto columns are resized as a result of the child items growing or shrinking, the lines are not redrawn. I solved this issue by overriding OnChildSizeChanged and calling InvalidateVisual() on the base class. My code below:
    protected override void OnChildDesiredSizeChanged(UIElement child)
    {
      base.InvalidateVisual();
      base.OnChildDesiredSizeChanged(child);
    }
Is this the right way to do it?

comments