MonthCalendar SetDate


Node Information
Sets a date as the currently selected date.
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
MonthCalendar IN MonthCalendar ONE FALSE FALSE
Value IN DateTime ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.UI.MonthCalendar
{
    [IsNode("SetDate")]
    public class MonthCalendarSetDate : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Set");
        Port a = new Port(PortType.IN, typeof(DateTime), AcceptsLinks.ONE, "Value");
        Port objectRef = new Port(PortType.IN, typeof(Korduene.Designer.Standard.MonthCalendar), AcceptsLinks.ONE, "MonthCalendar");
        public MonthCalendarSetDate()
        {
            this.Name = "MonthCalendar SetDate";
            this.NodeType = NodeType.Method;
            AddPort(run);
            AddPort(objectRef);
            AddPort(a);
            Information = "Sets a date as the currently selected date.";
        }
        public override string Code()
        {
            return GetValue(objectRef) + ".SetDate(" + GetValue(a) + ");";
        }
    }
}