示例#1
0
 /// <summary>
 /// constructs new LongPressEnventArgs
 /// </summary>
 /// <param name="source"></param>
 /// <param name="newListener"></param>
 public LongPressEventArgs(LongPressEventArgs source = null, Listener newListener = null) : base(source, newListener)
 {
     if (source != null)
     {
         Duration = source.Duration;
     }
 }
示例#2
0
 /// <summary>
 /// Updates properties from the values from another instance
 /// </summary>
 /// <param name="source"></param>
 public void ValueFrom(LongPressEventArgs source)
 {
     base.ValueFrom(source);
     Duration = source.Duration;
 }