/// <summary> /// Sets the vertical overflow strategy. /// </summary> /// <param name="live">The <see cref="LiveDisplay"/> instance.</param> /// <param name="overflow">The overflow strategy to use.</param> /// <returns>The same instance so that multiple calls can be chained.</returns> public static LiveDisplay Overflow(this LiveDisplay live, VerticalOverflow overflow) { if (live is null) { throw new ArgumentNullException(nameof(live)); } live.Overflow = overflow; return(live); }
internal void SetOverflow(VerticalOverflow overflow, VerticalOverflowCropping cropping) { Live.Overflow = overflow; Live.OverflowCropping = cropping; }