CheckBox Check


Node Information
Changes the check state of the CheckBox to Checked.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Check IN RUN MULTIPLE FALSE FALSE
IN CheckBox ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.CheckBox
{
    [IsNode("Check")]
    public class CheckBoxCheck : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Check");
        Port objectRef = new Port(PortType.IN, typeof(Korduene.Designer.Standard.CheckBox), AcceptsLinks.ONE);
        public CheckBoxCheck()
        {
            this.Name = "CheckBox Check";
            this.NodeType = KGraph.NodeType.Method;
            AddPort(run);
            AddPort(objectRef);
            Information = "Changes the check state of the CheckBox to Checked.";
        }
        public override string Code()
        {
            return GetValue(objectRef) + ".Checked =true;";
        }
    }
}