public override void Allocate() { base.Allocate(); if (Fill != null) { Fill.Allocate(); } if (Stroke != null) { Stroke.Allocate(); } _performLayout = true; }