WebBrowser Stop


Node Information
Stops current navigation.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Stop IN RUN MULTIPLE FALSE FALSE
WebBrowser IN WebBrowser ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.WebBrowser
{
    [IsNode("Stop")]
    public class WebBrowserStop : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Stop");
        Port control = new Port(PortType.IN, typeof(Korduene.Designer.Standard.WebBrowser), AcceptsLinks.ONE, "WebBrowser");
        public WebBrowserStop()
        {
            this.Name = "WebBrowser Stop";
            this.NodeType = KGraph.NodeType.Method;
            AddPort(run);
            AddPort(control);
            Information = "Stops current navigation.";
        }
        public override string Code()
        {
            return GetValue(control) + ".Stop();";
        }
    }
}