/// <summary> /// When the control is created initialize the renderer /// </summary> /// <param name="e"></param> protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); // need to use licenseManager as DesignMode is not set at this stage if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { graphics.Init(); } }