RichTextBox Redo


Node Information
Redo changes in the specified RichTextBox.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Redo IN RUN MULTIPLE FALSE FALSE
RichTextBox IN RichTextBox ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.RichTextBox
{
    [IsNode("Redo")]
    public class RichTextBoxRedo : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Redo");
        Port objectRef = new Port(PortType.IN, typeof(Korduene.Designer.Standard.RichTextBox), AcceptsLinks.ONE, "RichTextBox");
        public RichTextBoxRedo()
        {
            NodeType = NodeType.Method;
            this.Name = "RichTextBox Redo";
            AddPort(run);
            AddPort(objectRef);
            Information = "Redo changes in the specified RichTextBox.";
        }
        public override string Code()
        {
            return GetValue(objectRef) + ".Redo();";
        }
    }
}