public override Size GetPreferredSize(ViewLayoutContext context) { Debug.Assert(context != null); return _drawTrackBar.TickSize; }