internal static void ClearText(this RichLabel label) { if (label == null) { return; } label.DeleteAllChildren(); }