menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridNestedTableControlCellRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridNestedTableControlCellRenderer

    Defines a class that creates a GridTableControl as a view for the GridNestedTableControlCellModel. The GridTableControl is drawn static using the GridTableControl DrawGrid method. GridTableControl is being used in a windowless mode. All mouse and keyboard interaction is forwarded from a parent grid control to the nested table control. The table control has no window handle.

    Inheritance
    System.Object
    NonFinalizeDisposable
    GridCellRendererBase
    GridStaticCellRenderer
    GridNestedTableControlCellRenderer
    Implements
    IQueryFocusInside
    IGridDropDownCell
    IPopupParent
    IPopupItem
    System.IDisposable
    Inherited Members
    GridCellRendererBase.AddButton(GridCellButton)
    GridCellRendererBase.AlwaysRaiseCellClick
    GridCellRendererBase.CanPaste()
    GridCellRendererBase.ChildClosing(IPopupChild, PopupCloseType)
    GridCellRendererBase.ClickOverImage
    GridCellRendererBase.ColIndex
    GridCellRendererBase.ControlDoubleClick(Object, EventArgs)
    GridCellRendererBase.ControlGotFocus(Object, EventArgs)
    GridCellRendererBase.ControlLostFocus(Object, EventArgs)
    GridCellRendererBase.ControlMouseDown(Object, MouseEventArgs)
    GridCellRendererBase.ControlText
    GridCellRendererBase.ControlValue
    GridCellRendererBase.Copy()
    GridCellRendererBase.CreateDropDownContainer()
    GridCellRendererBase.CurrentCell
    GridCellRendererBase.CurrentStyle
    GridCellRendererBase.Cut()
    GridCellRendererBase.Dispose()
    GridCellRendererBase.Draw(Graphics, Rectangle, Int32, Int32, GridStyleInfo)
    GridCellRendererBase.DrawBackground(Graphics, Rectangle, GridStyleInfo, Boolean)
    GridCellRendererBase.DrawCellAppearance(Graphics, Rectangle, GridStyleInfo)
    GridCellRendererBase.DrawSingleCell(Graphics, Rectangle, Int32, Int32, GridStyleInfo, Boolean)
    GridCellRendererBase.DropDownButton
    GridCellRendererBase.DropDownContainer
    GridCellRendererBase.DropDownContainerCloseDropDown(Object, PopupClosedEventArgs)
    GridCellRendererBase.DropDownContainerShowedDropDown(Object, EventArgs)
    GridCellRendererBase.DropDownContainerShowingDropDown(Object, CancelEventArgs)
    GridCellRendererBase.DropDownImp
    GridCellRendererBase.DropDownPart
    GridCellRendererBase.EnsureDropDownContainer()
    GridCellRendererBase.FindText(String, Int32, Int32, GridFindTextOptions, Boolean)
    GridCellRendererBase.ForceRefreshOnActivateCell
    GridCellRendererBase.GetButton(Int32)
    GridCellRendererBase.GetCellBoundsCore(Int32, Int32)
    GridCellRendererBase.GetCellBoundsCore(Int32, Int32, Boolean)
    GridCellRendererBase.GetCellBoundsCoreInt(Int32, Int32, Boolean)
    GridCellRendererBase.GetCellClientRectangle(Int32, Int32, GridStyleInfo, Boolean)
    GridCellRendererBase.GetCellLayout(Int32, Int32, GridStyleInfo)
    GridCellRendererBase.GetCellText(GridStyleInfo, GridFindTextOptions)
    GridCellRendererBase.GetCellValue()
    GridCellRendererBase.GetDisplayText()
    GridCellRendererBase.GetEditState()
    GridCellRendererBase.GetMarkHeaderState(Int32, Int32, GridStyleInfo)
    GridCellRendererBase.GetSelectedText(String)
    GridCellRendererBase.HasControlText
    GridCellRendererBase.HasControlValue
    GridCellRendererBase.HasFocusControl
    GridCellRendererBase.Hide()
    GridCellRendererBase.InBeginEdit
    GridCellRendererBase.InInitialize
    GridCellRendererBase.Initalized
    GridCellRendererBase.InitalizedAt(Int32, Int32)
    GridCellRendererBase.Initialize(Int32, Int32)
    GridCellRendererBase.InitializeControlText(Object)
    GridCellRendererBase.InitializedAt(Int32, Int32)
    GridCellRendererBase.InitializeDropDownContainer()
    GridCellRendererBase.InSetControlText
    GridCellRendererBase.InSetControlValue
    GridCellRendererBase.InSetSetControlValue
    GridCellRendererBase.IPopupItem.GetPopupParentControl()
    GridCellRendererBase.IPopupParent.GetBorderOverlapCue(PopupRelativeAlignment)
    GridCellRendererBase.IPopupParent.GetLocationForPopupAlignment(PopupRelativeAlignment, PopupRelativeAlignment)
    GridCellRendererBase.IPopupParent.IsRightToLeft
    GridCellRendererBase.IsControlVisible()
    GridCellRendererBase.IsDisposed
    GridCellRendererBase.IsDisposing
    GridCellRendererBase.IsDroppedDown
    GridCellRendererBase.IsEditing
    GridCellRendererBase.IsReadOnly()
    GridCellRendererBase.IsRelatedControl(Control, Boolean)
    GridCellRendererBase.MouseDownPoint
    GridCellRendererBase.MouseDownTick
    GridCellRendererBase.NotifyCurrentCellChanged()
    GridCellRendererBase.NotifyCurrentCellChanging()
    GridCellRendererBase.NotifyCurrentCellControlDoubleClick(Control)
    GridCellRendererBase.NotifyCurrentCellControlGotFocus(Control)
    GridCellRendererBase.NotifyCurrentCellControlLostFocus(Control)
    GridCellRendererBase.NotifyShowedDropDown()
    GridCellRendererBase.NotifyShowingDropDown(Size)
    GridCellRendererBase.OnBeginEdit()
    GridCellRendererBase.OnButtonClicked(Int32, Int32, Int32)
    GridCellRendererBase.OnCellLayoutChanged()
    GridCellRendererBase.OnClick(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.OnCloseDropDown(PopupCloseType)
    GridCellRendererBase.OnControlDoubleClick(Control)
    GridCellRendererBase.OnDeleting()
    GridCellRendererBase.OnDoubleClick(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.OnDrawCellBackground(GridDrawCellBackgroundEventArgs)
    GridCellRendererBase.OnDrawCellButton(GridCellButton, Graphics, Int32, Int32, Boolean, GridStyleInfo)
    GridCellRendererBase.OnDrawCellButtonBackground(GridCellButton, Graphics, Rectangle, ButtonState, GridStyleInfo)
    GridCellRendererBase.OnEditingComplete()
    GridCellRendererBase.OnEndEdit()
    GridCellRendererBase.OnGridGotFocus(EventArgs)
    GridCellRendererBase.OnKeyDown(KeyEventArgs)
    GridCellRendererBase.OnKeyPress(KeyPressEventArgs)
    GridCellRendererBase.OnKeyUp(KeyEventArgs)
    GridCellRendererBase.OnLayout(Int32, Int32, GridStyleInfo, Rectangle, Rectangle[])
    GridCellRendererBase.OnModelChanged(EventArgs)
    GridCellRendererBase.OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs)
    GridCellRendererBase.OnQueryShowButtons(Int32, Int32, GridStyleInfo)
    GridCellRendererBase.OnRejectChanges()
    GridCellRendererBase.OnSaveChanges()
    GridCellRendererBase.OnSetControlText(String)
    GridCellRendererBase.OnShowDropDown()
    GridCellRendererBase.OnStartEditing()
    GridCellRendererBase.OnValidate()
    GridCellRendererBase.OnValidated()
    GridCellRendererBase.Paste()
    GridCellRendererBase.PerformLayout(Int32, Int32)
    GridCellRendererBase.PerformLayout(Int32, Int32, GridStyleInfo)
    GridCellRendererBase.PerformLayout(Int32, Int32, GridStyleInfo, Rectangle)
    GridCellRendererBase.ProcessMouseWheel(MouseEventArgs)
    GridCellRendererBase.QueryFocusInside()
    GridCellRendererBase.RaiseCancelMode(Int32, Int32)
    GridCellRendererBase.RaiseClick(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.RaiseDoubleClick(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.RaiseGetCursor(Int32, Int32)
    GridCellRendererBase.RaiseHitTest(Int32, Int32, MouseEventArgs, IMouseController)
    GridCellRendererBase.RaiseMouseDown(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.RaiseMouseHover(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.RaiseMouseHoverEnter(Int32, Int32)
    GridCellRendererBase.RaiseMouseHoverLeave(Int32, Int32, EventArgs)
    GridCellRendererBase.RaiseMouseMove(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.RaiseMouseUp(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.RaiseProcessKeyEventArgs(Message)
    GridCellRendererBase.RemoveButton(GridCellButton)
    GridCellRendererBase.ReplaceSel(String)
    GridCellRendererBase.ReplaceText(String, String, Int32, Int32, GridFindTextOptions, Boolean)
    GridCellRendererBase.ResetCellLayout()
    GridCellRendererBase.ResetControlText()
    GridCellRendererBase.ResetControlValue()
    GridCellRendererBase.RowIndex
    GridCellRendererBase.ScaleFactor
    GridCellRendererBase.SetControl(Control)
    GridCellRendererBase.SetControlValue(Object, Boolean)
    GridCellRendererBase.SetEditState(Object)
    GridCellRendererBase.ShouldDrawEditing(Int32, Int32)
    GridCellRendererBase.ShouldDrawFocused(Int32, Int32)
    GridCellRendererBase.StyleInfo
    GridCellRendererBase.SupportsEditing
    GridCellRendererBase.SupportsFocusControl
    GridCellRendererBase.UnwireModel(GridCellModelBase)
    GridCellRendererBase.UpdateControlValue()
    GridCellRendererBase.ValidateString(String)
    GridCellRendererBase.WireModel(GridCellModelBase)
    GridStaticCellRenderer.CanCopy()
    GridStaticCellRenderer.CanCut()
    GridStaticCellRenderer.DrawImage(Graphics, ImageList, Int32, Rectangle)
    GridStaticCellRenderer.DrawImage(Graphics, ImageList, Int32, Rectangle, Boolean)
    GridStaticCellRenderer.DrawImage(Graphics, ImageList, Int32, Rectangle, Rectangle, Boolean)
    GridStaticCellRenderer.DrawRotatedString(Graphics, String, Font, Brush, RectangleF, StringFormat, Single, GridStyleInfo)
    GridStaticCellRenderer.DrawText(Graphics, String, Font, Rectangle, GridStyleInfo, Color)
    GridStaticCellRenderer.DrawText(Graphics, String, Font, Rectangle, GridStyleInfo, Color, Boolean)
    GridStaticCellRenderer.DrawText(Graphics, String, Font, Rectangle, GridStyleInfo, Color, Boolean, Boolean)
    GridStaticCellRenderer.GetRotatedTextBound(String, Font, StringFormat, Single, Single)
    GridStaticCellRenderer.IsPointOverImage(Int32, Int32, Point)
    GridStaticCellRenderer.RemoveMargins(Rectangle, GridStyleInfo)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class GridNestedTableControlCellRenderer : GridStaticCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable
    Remarks

    You can typically access cell models through the CellRenderers property of the GridControlBase class. A nested table control cell renderer is identified through its parent relations name with an "RT" prefix.

    Examples
                string cellType = "RT" + relatedTable.TableDescriptor.Name;
                GridNestedTableControlCellRenderer cm = this.CellRenderers[cellType] as GridNestedTableControlCellRenderer;

    Dim cellType As String = "RT" + relatedTable.TableDescriptor.Name Dim cm As GridNestedTableControlCellRenderer = Me.CellRenderers(cellType)

    Constructors

    GridNestedTableControlCellRenderer(GridControlBase, GridCellModelBase)

    Initializes a new instance of the GridNestedTableControlCellRenderer class for the given instance of the GridControlBase and GridCellModelBase classes.

    Declaration
    public GridNestedTableControlCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
    Parameters
    Type Name Description
    GridControlBase grid

    The instance of the GridControlBase class that displays this cell renderer.

    GridCellModelBase cellModel

    The instance of the GridCellModelBase class that holds data for this cell renderer.

    Remarks

    References to GridControlBase and GridCellModelBase will be saved.

    You can typically access cell models through the CellRenderers property of the GridControlBase class. A nested table control cell renderer is identified through its parent relations name with an "RT" prefix.

    Examples
                string cellType = "RT" + relatedTable.TableDescriptor.Name;
                GridNestedTableControlCellRenderer cm = this.CellRenderers[cellType] as GridNestedTableControlCellRenderer;

    Dim cellType As String = "RT" + relatedTable.TableDescriptor.Name Dim cm As GridNestedTableControlCellRenderer = Me.CellRenderers(cellType)

    Properties

    Control

    Gets the GridNestedTableControl that draws the nested table.

    Declaration
    public GridNestedTableControl Control { get; }
    Property Value
    Type
    GridNestedTableControl

    Grid

    Gets the parent GridTableControl that this cell renderer belongs to.

    Declaration
    public GridTableControl Grid { get; }
    Property Value
    Type
    GridTableControl

    Model

    Gets the GridNestedTableControlCellModel that this cell renderer belongs to.

    Declaration
    public GridNestedTableControlCellModel Model { get; }
    Property Value
    Type
    GridNestedTableControlCellModel

    Methods

    Dispose(Boolean)

    Overrides and manages the unwanted resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    GridCellRendererBase.Dispose(Boolean)

    GetInnerCurrentCell()

    Gets the currentcell from the child table. Internal only.

    Declaration
    public GridCurrentCell GetInnerCurrentCell()
    Returns
    Type Description
    GridCurrentCell

    Current cell for the instance specified.

    GetNestedCurrentCell()

    Overrides and gets the nested current cell if this cell type hosts a GridControl by itself.

    Declaration
    public override GridCurrentCell GetNestedCurrentCell()
    Returns
    Type Description
    GridCurrentCell

    Current cell at the current instance specified.

    Overrides
    GridCellRendererBase.GetNestedCurrentCell()

    OnActivated()

    Overrides and triggered when the parent grid gets activated.

    Declaration
    protected override void OnActivated()
    Overrides
    GridCellRendererBase.OnActivated()

    OnActivating(Int32, Int32)

    Overrides and determines a value indicating whether the parent grid gets activating or not.

    Declaration
    protected override bool OnActivating(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    Returns
    Type Description
    System.Boolean

    True is cell can be activated; False otherwise.

    Overrides
    GridCellRendererBase.OnActivating(Int32, Int32)

    OnCancelMode(Int32, Int32)

    Overrides and triggered when the cancel mode method call is done.

    Declaration
    protected override void OnCancelMode(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    Overrides
    GridCellRendererBase.OnCancelMode(Int32, Int32)

    OnDeactivating()

    Overrides and determines a value indicating whether the parent grid gets deactivating or not.

    Declaration
    protected override bool OnDeactivating()
    Returns
    Type Description
    System.Boolean

    True if renderer can be deactivated; False if deactivation should be aborted.

    Overrides
    GridCellRendererBase.OnDeactivating()

    OnDeactived(Int32, Int32)

    Overrides and triggered when the grid gets deactivated.

    Declaration
    protected override void OnDeactived(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    Overrides
    GridCellRendererBase.OnDeactived(Int32, Int32)

    OnDraw(Graphics, Rectangle, Int32, Int32, GridStyleInfo)

    Overrides and draws the grid.

    Declaration
    protected override void OnDraw(Graphics g, Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The instance of the System.Drawing.Graphics class.

    System.Drawing.Rectangle clientRectangle

    The inner bounds of the cell without borders.

    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    GridStyleInfo style

    An instance of the GridStyleInfo that holds the values of style properties.

    Overrides
    GridStaticCellRenderer.OnDraw(Graphics, Rectangle, Int32, Int32, GridStyleInfo)

    OnGetCursor(Int32, Int32)

    Overrides and triggered to get the cursor for the current cell.

    Declaration
    protected override Cursor OnGetCursor(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    Returns
    Type Description
    System.Windows.Forms.Cursor

    The System.Windows.Forms.Cursor to be displayed.

    Overrides
    GridCellRendererBase.OnGetCursor(Int32, Int32)

    OnHasFocusControlChanged()

    Overrides and triggered when the focus of the control gets changed.

    Declaration
    protected override void OnHasFocusControlChanged()
    Overrides
    GridCellRendererBase.OnHasFocusControlChanged()

    OnHitTest(Int32, Int32, MouseEventArgs, IMouseController)

    This method is called to determine whether the cell renderer wants to receive mouse events for the give cell at the given coordinates.

    Declaration
    protected override int OnHitTest(int rowIndex, int colIndex, MouseEventArgs e, IMouseController controller)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    System.Windows.Forms.MouseEventArgs e

    A System.Windows.Forms.MouseEventArgs with data about the mouse event.

    IMouseController controller

    The current controller requested to handle this mouse event.

    Returns
    Type Description
    System.Int32

    Non-zero hit context value if you request to handle the mouse event; zero if you vote not to handle the mouse event.

    Overrides
    GridCellRendererBase.OnHitTest(Int32, Int32, MouseEventArgs, IMouseController)

    OnInitialize(Int32, Int32)

    Overrides and initializes the grid.

    Declaration
    protected override void OnInitialize(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    Overrides
    GridCellRendererBase.OnInitialize(Int32, Int32)

    OnMouseDown(Int32, Int32, MouseEventArgs)

    Overrides and triggered when the Mouse down event is done.

    Declaration
    protected override void OnMouseDown(int rowIndex, int colIndex, MouseEventArgs e)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GridCellRendererBase.OnMouseDown(Int32, Int32, MouseEventArgs)

    OnMouseHover(Int32, Int32, MouseEventArgs)

    Overrides and triggered when the mouse hover event is done.

    Declaration
    protected override void OnMouseHover(int rowIndex, int colIndex, MouseEventArgs e)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GridCellRendererBase.OnMouseHover(Int32, Int32, MouseEventArgs)

    OnMouseHoverEnter(Int32, Int32)

    Overrides and triggered when the mouse hover enter event is done.

    Declaration
    protected override void OnMouseHoverEnter(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    Overrides
    GridCellRendererBase.OnMouseHoverEnter(Int32, Int32)

    OnMouseHoverLeave(Int32, Int32, EventArgs)

    Overrides and triggered when the mouse hover ends.

    Declaration
    protected override void OnMouseHoverLeave(int rowIndex, int colIndex, EventArgs e)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    System.EventArgs e

    The System.EventArgs contains the event data.

    Overrides
    GridCellRendererBase.OnMouseHoverLeave(Int32, Int32, EventArgs)

    OnMouseMove(Int32, Int32, MouseEventArgs)

    Overrides and triggered from the mouse down event is done.

    Declaration
    protected override void OnMouseMove(int rowIndex, int colIndex, MouseEventArgs e)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GridCellRendererBase.OnMouseMove(Int32, Int32, MouseEventArgs)

    OnMouseUp(Int32, Int32, MouseEventArgs)

    Overrides and triggered when the mouse up event is done.

    Declaration
    protected override void OnMouseUp(int rowIndex, int colIndex, MouseEventArgs e)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Int32 colIndex

    The column index.

    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GridCellRendererBase.OnMouseUp(Int32, Int32, MouseEventArgs)

    OnNotifyMsg(ref Message)

    Overrides and triggered to notify the changes from OnVScroll, OnHScroll before grid is scrolled.

    Declaration
    public override void OnNotifyMsg(ref Message pMsg)
    Parameters
    Type Name Description
    System.Windows.Forms.Message pMsg

    The message to be notified.

    Overrides
    GridCellRendererBase.OnNotifyMsg(ref Message)

    OnOutlineCurrentCell(Graphics, Rectangle)

    Overrides and triggered when outlining the current cell.

    Declaration
    protected override void OnOutlineCurrentCell(Graphics g, Rectangle r)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The instance of the System.Drawing.Graphics class.

    System.Drawing.Rectangle r

    The bounds of the cell.

    Overrides
    GridCellRendererBase.OnOutlineCurrentCell(Graphics, Rectangle)

    OnScrollInView(GridScrollCurrentCellReason)

    Determines a value whether the grid is in scroll view or not when the current cell is navigating.

    Declaration
    public override bool OnScrollInView(GridScrollCurrentCellReason reason)
    Parameters
    Type Name Description
    GridScrollCurrentCellReason reason

    Defines the reason for scrolling current cell into view.

    Returns
    Type Description
    System.Boolean

    Returns False.

    Overrides
    GridCellRendererBase.OnScrollInView(GridScrollCurrentCellReason)

    ProcessKeyEventArgs(ref Message)

    Overrides and determines a value indicating whether to process the key event args or not.

    Declaration
    protected override bool ProcessKeyEventArgs(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    The System.Windows.Forms.Message with data of the keyboard event.

    Returns
    Type Description
    System.Boolean

    True if key was handled; False otherwise.

    Overrides
    GridCellRendererBase.ProcessKeyEventArgs(ref Message)
    Remarks

    This is called from ProcessKeyEventArgs(ref Message) and allows your customized cell renderer to process keyboard events before the GridControlBase gets the actual KeyDown or KeyUp event.

    ShouldRefreshCurrentCell()

    Determines a value whether the cell needs to be repainted or not when it becomes the current cell.

    Declaration
    public override bool ShouldRefreshCurrentCell()
    Returns
    Type Description
    System.Boolean

    Returns False.

    Overrides
    GridCellRendererBase.ShouldRefreshCurrentCell()

    SwitchNestedTableAndRestore(GridNestedTable)

    Lets you switch the context of the nested control. GridBounds, Table.FilteredChildTable etc. will be adjusted.

    Declaration
    public GridNestedTableControlCellRenderer.GridSwitchNestedTableAndRestoreHelper SwitchNestedTableAndRestore(GridNestedTable nestedTable)
    Parameters
    Type Name Description
    GridNestedTable nestedTable

    The nested table that the nested control should operate on.

    Returns
    Type Description
    GridNestedTableControlCellRenderer.GridSwitchNestedTableAndRestoreHelper

    A GridSwitchNestedTableAndRestoreHelper. When you call Dispose on this member the previous state will be restored.

    ToString()

    Returns a string holding the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String representation of the current object.

    Overrides
    GridCellRendererBase.ToString()

    Implements

    IQueryFocusInside
    IGridDropDownCell
    IPopupParent
    IPopupItem
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved