/// <summary> /// Non selectable string /// </summary> /// <param name="text"></param> /// <param name="binding"></param> /// <param name="shortcut"></param> /// <param name="help"></param> public MenuLineBaseComplex(string text, object binding, string shortcut = null, string help = null) : this(text, shortcut, help) { this.binding = binding; this.enable = null; this.visible = null; this.filter = null; }
/// <summary> /// /// </summary> /// <param name="text"></param> /// <param name="binging"></param> /// <param name="enable"></param> /// <param name="visible"></param> /// <param name="filter"></param> /// <param name="shortcut"></param> /// <param name="help"></param> public MenuLineBaseComplex(string text, object binging, Precodition enable = null, Precodition visible = null, Filter filter = null, string shortcut = null, string help = null) : this(text, binging, shortcut, help) { this.enable = enable; this.visible = visible; this.filter = filter; }
/// <summary> /// /// </summary> /// <param name="text"></param> /// <param name="binging"></param> /// <param name="enable"></param> /// <param name="visible"></param> /// <param name="filter"></param> /// <param name="buttonType"></param> /// <param name="buttonState"></param> /// <param name="shortcut"></param> /// <param name="help"></param> public MenuLineBaseComplex(string text, object binging, Precodition enable = null, Precodition visible = null, Filter filter = null, ButtonType buttonType = ButtonType.NoButton, Precodition buttonState = null, string shortcut = null, string help = null) : this(text, binging, shortcut, help) { this.enable = enable; this.visible = visible; this.filter = filter; this.buttonType = buttonType; this.buttonState = buttonState; }