/// <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; } }
/// <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; }