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