menu

WinForms

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

    Show / Hide Table of Contents

    Class SchemaItemCellRenderer

    Provides methods used to render the schema item cell with visual styles.

    Inheritance
    System.Object
    NonFinalizeDisposable
    GridCellRendererBase
    GridStaticCellRenderer
    GridHeaderCellRenderer
    SchemaItemCellRenderer
    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.Control
    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.GetNestedCurrentCell()
    GridCellRendererBase.GetSelectedText(String)
    GridCellRendererBase.Grid
    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.Model
    GridCellRendererBase.MouseDownPoint
    GridCellRendererBase.MouseDownTick
    GridCellRendererBase.NotifyCurrentCellChanged()
    GridCellRendererBase.NotifyCurrentCellChanging()
    GridCellRendererBase.NotifyCurrentCellControlDoubleClick(Control)
    GridCellRendererBase.NotifyCurrentCellControlGotFocus(Control)
    GridCellRendererBase.NotifyCurrentCellControlLostFocus(Control)
    GridCellRendererBase.NotifyShowedDropDown()
    GridCellRendererBase.NotifyShowingDropDown(Size)
    GridCellRendererBase.OnActivated()
    GridCellRendererBase.OnActivating(Int32, Int32)
    GridCellRendererBase.OnBeginEdit()
    GridCellRendererBase.OnCancelMode(Int32, Int32)
    GridCellRendererBase.OnCellLayoutChanged()
    GridCellRendererBase.OnClick(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.OnCloseDropDown(PopupCloseType)
    GridCellRendererBase.OnControlDoubleClick(Control)
    GridCellRendererBase.OnDeactivating()
    GridCellRendererBase.OnDeactived(Int32, Int32)
    GridCellRendererBase.OnDeleting()
    GridCellRendererBase.OnDoubleClick(Int32, Int32, MouseEventArgs)
    GridCellRendererBase.OnDrawCellButtonBackground(GridCellButton, Graphics, Rectangle, ButtonState, GridStyleInfo)
    GridCellRendererBase.OnEditingComplete()
    GridCellRendererBase.OnEndEdit()
    GridCellRendererBase.OnGridGotFocus(EventArgs)
    GridCellRendererBase.OnHasFocusControlChanged()
    GridCellRendererBase.OnInitialize(Int32, Int32)
    GridCellRendererBase.OnKeyDown(KeyEventArgs)
    GridCellRendererBase.OnKeyPress(KeyPressEventArgs)
    GridCellRendererBase.OnKeyUp(KeyEventArgs)
    GridCellRendererBase.OnModelChanged(EventArgs)
    GridCellRendererBase.OnMouseHoverEnter(Int32, Int32)
    GridCellRendererBase.OnNotifyMsg(Message)
    GridCellRendererBase.OnQueryShowButtons(Int32, Int32, GridStyleInfo)
    GridCellRendererBase.OnRejectChanges()
    GridCellRendererBase.OnSaveChanges()
    GridCellRendererBase.OnScrollInView(GridScrollCurrentCellReason)
    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.ProcessKeyEventArgs(Message)
    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.ShouldRefreshCurrentCell()
    GridCellRendererBase.StyleInfo
    GridCellRendererBase.SupportsEditing
    GridCellRendererBase.SupportsFocusControl
    GridCellRendererBase.ToString()
    GridCellRendererBase.UnwireModel(GridCellModelBase)
    GridCellRendererBase.UpdateControlValue()
    GridCellRendererBase.ValidateString(String)
    GridCellRendererBase.WireModel(GridCellModelBase)
    GridHeaderCellRenderer.Dispose(Boolean)
    GridHeaderCellRenderer.DrawMetroCaptionRowStyle(Graphics, Rectangle, ThemedHeaderDrawing.HeaderState)
    GridHeaderCellRenderer.DrawMetroHeaderStyle(Graphics, Rectangle, ThemedHeaderDrawing.HeaderState)
    GridHeaderCellRenderer.OnDrawCellBackground(GridDrawCellBackgroundEventArgs)
    GridHeaderCellRenderer.OnHitTest(Int32, Int32, MouseEventArgs, IMouseController)
    GridHeaderCellRenderer.OnMouseDown(Int32, Int32, MouseEventArgs)
    GridHeaderCellRenderer.OnMouseMove(Int32, Int32, MouseEventArgs)
    GridHeaderCellRenderer.OnMouseUp(Int32, Int32, MouseEventArgs)
    GridHeaderCellRenderer.OnOutlineCurrentCell(Graphics, Rectangle)
    GridHeaderCellRenderer.UnwireGrid()
    GridHeaderCellRenderer.WireGrid()
    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.PivotChart
    Assembly: Syncfusion.PivotChart.Windows.dll
    Syntax
    public class SchemaItemCellRenderer : GridHeaderCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable

    Constructors

    SchemaItemCellRenderer(GridControlBase, GridCellModelBase)

    Initializes a new instance of the SchemaItemCellRenderer class with the specified GridControlBase and GridCellModelBase.

    Declaration
    public SchemaItemCellRenderer(GridControlBase gridControl, GridCellModelBase cellModel)
    Parameters
    Type Name Description
    GridControlBase gridControl

    The grid control that holds the top left cell.

    GridCellModelBase cellModel

    The data or model part of a cell type.

    Methods

    OnButtonClicked(Int32, Int32, Int32)

    Called when the user clicks on a button inside the cell.

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

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell..

    System.Int32 button

    The button that is clicked.

    Overrides
    GridCellRendererBase.OnButtonClicked(Int32, Int32, Int32)

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

    Draws the contents of the client bounds for the cell, e.g. the text for a static cell.

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

    Points to the device context.

    System.Drawing.Rectangle clientRectangle

    Specifies the client rectangle without buttons and borders.

    System.Int32 rowIndex

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell.

    GridStyleInfo style

    The GridStyleInfo object that holds the style information for the cell.

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

    OnDrawCellButton(GridCellButton, Graphics, Int32, Int32, Boolean, GridStyleInfo)

    Draws the cell button element at the specified row and column index.

    Declaration
    protected override void OnDrawCellButton(GridCellButton button, Graphics g, int rowIndex, int colIndex, bool isActive, GridStyleInfo style)
    Parameters
    Type Name Description
    GridCellButton button

    The GridCellButton to be drawn.

    System.Drawing.Graphics g

    The System.Drawing.Graphics context of the canvas.

    System.Int32 rowIndex

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell..

    System.Boolean isActive

    True, if this is the active current cell; otherwise, false.

    GridStyleInfo style

    The GridStyleInfo object that holds the style information for the cell.

    Overrides
    GridCellRendererBase.OnDrawCellButton(GridCellButton, Graphics, Int32, Int32, Boolean, GridStyleInfo)

    OnDrawDisplayText(Graphics, Rectangle, Int32, Int32, GridStyleInfo)

    Draws the text of the header cell after its background has been drawn. This method is called from OnDraw(Graphics, Rectangle, Int32, Int32, GridStyleInfo) method.

    Declaration
    protected override void OnDrawDisplayText(Graphics graphics, Rectangle textRectangle, int rowIndex, int colIndex, GridStyleInfo style)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    Points to the device context.

    System.Drawing.Rectangle textRectangle

    Specifies the text rectangle. It is the cell rectangle without buttons, borders, or text margins.

    System.Int32 rowIndex

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell..

    GridStyleInfo style

    The GridStyleInfo object that holds the style information for the cell.

    Overrides
    GridHeaderCellRenderer.OnDrawDisplayText(Graphics, Rectangle, Int32, Int32, GridStyleInfo)

    OnGetCursor(Int32, Int32)

    Changes the cursor for the schema item cell.

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

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell..

    Returns
    Type Description
    System.Windows.Forms.Cursor

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

    Overrides
    GridCellRendererBase.OnGetCursor(Int32, Int32)

    OnLayout(Int32, Int32, GridStyleInfo, Rectangle, Rectangle[])

    Calculates the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. This method is called from PerformLayout method.

    Declaration
    protected override Rectangle OnLayout(int rowIndex, int colIndex, GridStyleInfo style, Rectangle innerBounds, Rectangle[] buttonsBounds)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell..

    GridStyleInfo style

    The GridStyleInfo object that holds the style information for the cell.

    System.Drawing.Rectangle innerBounds

    The System.Drawing.Rectangle that contains the inner bounds of the cell.

    System.Drawing.Rectangle[] buttonsBounds

    An array of System.Drawing.Rectangle that contains the bounds for each cell button element.

    Returns
    Type Description
    System.Drawing.Rectangle

    A System.Drawing.Rectangle with the bounds.

    Overrides
    GridCellRendererBase.OnLayout(Int32, Int32, GridStyleInfo, Rectangle, Rectangle[])

    OnMouseHover(Int32, Int32, MouseEventArgs)

    Raises the System.Windows.Forms.Control.MouseHover event.

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

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell..

    System.Windows.Forms.MouseEventArgs e

    A System.Windows.Forms.MouseEventArgs that contains the event data.

    Overrides
    GridHeaderCellRenderer.OnMouseHover(Int32, Int32, MouseEventArgs)

    OnMouseHoverLeave(Int32, Int32, EventArgs)

    Raises the OnMouseHoverLeave(Int32, Int32, EventArgs) event.

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

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell..

    System.EventArgs e

    A System.Windows.Forms.MouseEventArgs that contains the event data.

    Overrides
    GridHeaderCellRenderer.OnMouseHoverLeave(Int32, Int32, EventArgs)

    OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs)

    Raises the PrepareViewStyleInfo event.

    Declaration
    public override void OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs e)
    Parameters
    Type Name Description
    GridPrepareViewStyleInfoEventArgs e

    A GridPrepareViewStyleInfoEventArgs that contains the event data.

    Overrides
    GridHeaderCellRenderer.OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs)

    OnPushButtonClick(Int32, Int32)

    Raises PushButtonClick event when the user presses the push button.

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

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell.

    Implements

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