예제 #1
0
 /// <summary>
 /// Add property initializer.  Returns this instance.
 /// </summary>
 public TuiElement AddProp(string name, TuiValue value)
 {
     Props = Props ?? new List <KeyValuePair <string, TuiValue> >();
     Props.Add(new KeyValuePair <string, TuiValue>(name, value));
     return(this);
 }
예제 #2
0
 /// <summary>
 /// Add event handler.  Returns this instance.
 /// </summary>
 public TuiElement AddEvent(string name, TuiValue value)
 {
     Events = Events ?? new List <KeyValuePair <string, object> >();
     Events.Add(new KeyValuePair <string, object>(name, value));
     return(this);
 }
예제 #3
0
 public new TuiView AddEvent(string name, TuiValue value) => (TuiView)base.AddEvent(name, value);
예제 #4
0
 /// <summary>
 /// Add construtor argument.  Returns this instance.
 /// </summary>
 public TuiElement AddArg(TuiValue value)
 {
     Args = Args ?? new List <TuiValue>();
     Args.Add(value);
     return(this);
 }
예제 #5
0
 public new TuiView AddProp(string name, TuiValue value) => (TuiView)base.AddProp(name, value);
예제 #6
0
 public new TuiView AddArg(TuiValue value) => (TuiView)base.AddArg(value);
예제 #7
0
 public new TuiMenuItem AddEvent(string name, TuiValue value) => (TuiMenuItem)base.AddEvent(name, value);
예제 #8
0
 public new TuiMenuItem AddProp(string name, TuiValue value) => (TuiMenuItem)base.AddProp(name, value);
예제 #9
0
 public new TuiMenuItem AddArg(TuiValue value) => (TuiMenuItem)base.AddArg(value);