CheckedListBox ClearSelected


Node Information
Clears out all the selected items from the specified CheckedListBox.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Clear IN RUN MULTIPLE FALSE FALSE
CheckedListBox IN CheckedListBox ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.CheckedListBox
{
    [IsNode("Clear Selected")]
    public class CheckedListBoxClearSelected : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Clear");
        Port control = new Port(PortType.IN, typeof(Korduene.Designer.Standard.CheckedListBox), AcceptsLinks.ONE, "CheckedListBox");
        public CheckedListBoxClearSelected()
        {
            this.Name = "CheckedListBox ClearSelected";
            this.NodeType = KGraph.NodeType.Method;
            AddPort(run);
            AddPort(control);
            Information = "Clears out all the selected items from the specified CheckedListBox.";
        }
        public override string Code()
        {
            return GetValue(control) + ".ClearSelected();";
        }
    }
}