public static Task SizeToFitAsync( this IWpfDifferenceViewer diffViewer, IThreadingContext threadingContext, double minWidth = 400.0, CancellationToken cancellationToken = default ) { var helper = new SizeToFitHelper(threadingContext, diffViewer, minWidth); return(helper.SizeToFitAsync(cancellationToken)); }
public static Task SizeToFitAsync(this ICocoaDifferenceViewer diffViewer, IThreadingContext threadingContext, double minWidth = 400.0) { var helper = new SizeToFitHelper(threadingContext, diffViewer, minWidth); return(helper.SizeToFitAsync()); }
public static void SizeToFit(this IWpfDifferenceViewer diffViewer, double minWidth = 400.0) { var helper = new SizeToFitHelper(diffViewer, minWidth); helper.SizeToFit(); }
public static Task SizeToFitAsync(this IWpfDifferenceViewer diffViewer, double minWidth = 400.0) { var helper = new SizeToFitHelper(diffViewer, minWidth); return(helper.SizeToFitAsync()); }
public static Task SizeToFitAsync(this IWpfDifferenceViewer diffViewer, double minWidth = 400.0) { var helper = new SizeToFitHelper(diffViewer, minWidth); return helper.SizeToFitAsync(); }