/// <summary> /// Initializes a new instance of the <see cref="CheckBox"/> class with the specified text. /// </summary> /// <param name="text">The text specified by the <see cref="CheckBox"/>.</param> public CheckBox(string text) : base(new SafeControlHandle(Libui.NewCheckbox(text))) { this.text = text; InitializeEvents(); }