/// <summary> /// Raises the paint event. /// </summary> public void OnPaint(CustomCell widget, CellPaintEventArgs args) { using (widget.Platform.Context) widget.OnPaint(args); }
/// <summary> /// Raises the CommitEdit event. /// </summary> public void OnCommitEdit(CustomCell widget, CellEventArgs args) { using (widget.Platform.Context) widget.OnCommitEdit(args); }
/// <summary> /// Raises the configure cell event. /// </summary> public void OnConfigureCell(CustomCell widget, CellEventArgs args, Control control) { using (widget.Platform.Context) widget.OnConfigureCell(args, control); }
/// <summary> /// Raises the create cell event. /// </summary> public Control OnCreateCell(CustomCell widget, CellEventArgs args) { using (widget.Platform.Context) return(widget.OnCreateCell(args)); }
/// <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)); }
/// <summary> /// Raises the get identifier event. /// </summary> public string OnGetIdentifier(CustomCell widget, CellEventArgs args) { using (widget.Platform.Context) return(widget.OnGetIdentifier(args)); }
/// <summary> /// Raises the paint event. /// </summary> public void OnPaint(CustomCell widget, CellPaintEventArgs args) { widget.Platform.Invoke(() => widget.OnPaint(args)); }
/// <summary> /// Raises the create cell event. /// </summary> public Control OnCreateCell(CustomCell widget, CellEventArgs args) { return(widget.Platform.Invoke(() => widget.OnCreateCell(args))); }
/// <summary> /// Raises the configure cell event. /// </summary> public void OnConfigureCell(CustomCell widget, CellEventArgs args, Control control) { widget.Platform.Invoke(() => widget.OnConfigureCell(args, control)); }
/// <summary> /// Raises the get identifier event. /// </summary> public string OnGetIdentifier(CustomCell widget, CellEventArgs args) { return(widget.Platform.Invoke(() => widget.OnGetIdentifier(args))); }
/// <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))); }