/// <summary> /// Gets the preferred width of the cell based on its content. /// </summary> public float OnGetPreferredWidth(CustomCell widget, CellEventArgs args) { using (widget.Platform.Context) return(widget.OnGetPreferredWidth(args)); }
/// <summary> /// Gets the preferred width of the cell based on its content. /// </summary> public float OnGetPreferredWidth(CustomCell widget, CellEventArgs args) { return(widget.Platform.Invoke(() => widget.OnGetPreferredWidth(args))); }