Beispiel #1
0
 /// <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));
 }
Beispiel #2
0
 /// <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)));
 }