protected override void Disabled(IControl control) { // If the focused control did not get disabled, skip focus changes. if (!ReferenceEquals(Context.Mouse, control)) { return; } control.Defocus(); }