Writing custom controls

To write your own custom control you should inherit from base Control class and implement methods MeasureOverride, ArrangeOverride and Render