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