NumericUpDown DownButton


Node Information
Decrements current value of NumericUpDown control.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
GoHome IN RUN MULTIPLE FALSE FALSE
NumericUpDown IN NumericUpDown ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.NumericUpDown
{
    [IsNode("DownButton")]
    public class NumericUpDownDownButton : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "GoHome");
        Port arr = new Port(PortType.IN, typeof(Korduene.Designer.Standard.NumericUpDown), AcceptsLinks.ONE, "NumericUpDown");
        public NumericUpDownDownButton()
        {
            this.Name = "NumericUpDown DownButton";
            this.NodeType = KGraph.NodeType.Method;
            AddPort(run);
            AddPort(arr);
            Information = "Decrements current value of NumericUpDown control.";
        }
        public override string Code()
        {
            return GetValue(arr) + ".DownButton();";
        }
    }
}