ProgressBar PerformStep


Node Information
Advances the current position of the progress bar by the amount specified in Step property.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Set IN RUN MULTIPLE FALSE FALSE
ProgressBar IN ProgressBar ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.ProgressBar
{
    [IsNode("PerformStep")]
    public class ProgressBarPerformStep : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Set");
        Port objectRef = new Port(PortType.IN, typeof(Korduene.Designer.Standard.ProgressBar), AcceptsLinks.ONE, "ProgressBar");
        public ProgressBarPerformStep()
        {
            this.Name = "ProgressBar PerformStep";
            this.NodeType = NodeType.Method;
            AddPort(run);
            AddPort(objectRef);
            Information = "Advances the current position of the progress bar by the amount specified in Step property.";
        }
        public override string Code()
        {
            return GetValue(objectRef) + ".PerformStep();";
        }
    }
}