Esempio n. 1
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(CustomCell widget, CellPaintEventArgs args)
 {
     using (widget.Platform.Context)
         widget.OnPaint(args);
 }
Esempio n. 2
0
 /// <summary>
 /// Raises the CommitEdit event.
 /// </summary>
 public void OnCommitEdit(CustomCell widget, CellEventArgs args)
 {
     using (widget.Platform.Context)
         widget.OnCommitEdit(args);
 }
Esempio n. 3
0
 /// <summary>
 /// Raises the configure cell event.
 /// </summary>
 public void OnConfigureCell(CustomCell widget, CellEventArgs args, Control control)
 {
     using (widget.Platform.Context)
         widget.OnConfigureCell(args, control);
 }
Esempio n. 4
0
 /// <summary>
 /// Raises the create cell event.
 /// </summary>
 public Control OnCreateCell(CustomCell widget, CellEventArgs args)
 {
     using (widget.Platform.Context)
         return(widget.OnCreateCell(args));
 }
Esempio n. 5
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));
 }
Esempio n. 6
0
 /// <summary>
 /// Raises the get identifier event.
 /// </summary>
 public string OnGetIdentifier(CustomCell widget, CellEventArgs args)
 {
     using (widget.Platform.Context)
         return(widget.OnGetIdentifier(args));
 }
Esempio n. 7
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(CustomCell widget, CellPaintEventArgs args)
 {
     widget.Platform.Invoke(() => widget.OnPaint(args));
 }
Esempio n. 8
0
 /// <summary>
 /// Raises the create cell event.
 /// </summary>
 public Control OnCreateCell(CustomCell widget, CellEventArgs args)
 {
     return(widget.Platform.Invoke(() => widget.OnCreateCell(args)));
 }
Esempio n. 9
0
 /// <summary>
 /// Raises the configure cell event.
 /// </summary>
 public void OnConfigureCell(CustomCell widget, CellEventArgs args, Control control)
 {
     widget.Platform.Invoke(() => widget.OnConfigureCell(args, control));
 }
Esempio n. 10
0
 /// <summary>
 /// Raises the get identifier event.
 /// </summary>
 public string OnGetIdentifier(CustomCell widget, CellEventArgs args)
 {
     return(widget.Platform.Invoke(() => widget.OnGetIdentifier(args)));
 }
Esempio n. 11
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)));
 }