TextBox DeselectAll


Node Information
DeselectAll all the text in the specified TextBox.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
DeselectAll IN RUN MULTIPLE FALSE FALSE
TextBox IN TextBox ONE FALSE FALSE

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