Пример #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)));
 }