public override Size GetPreferredSize(ViewLayoutContext context) { // We have no preference, just set our size to whatever is needed return Size.Empty; }