Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType Namespace / UniversalCellType Class / GetEditingElement Method
The painting context.
The row index of editing cell.
The column index of editing cell.
The current cell data.
The System.EventArgs object associated with the editing.


In This Topic
    GetEditingElement Method (UniversalCellType)
    In This Topic
    Gets the editing element of the specified cell.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function GetEditingElement( _
       ByVal paintingContext As PaintingContext, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal cellData As CellData, _
       ByVal eventArgs As EventArgs _
    ) As FrameworkElement
    'Usage
     
    Dim instance As UniversalCellType
    Dim paintingContext As PaintingContext
    Dim row As Integer
    Dim column As Integer
    Dim cellData As CellData
    Dim eventArgs As EventArgs
    Dim value As FrameworkElement
     
    value = instance.GetEditingElement(paintingContext, row, column, cellData, eventArgs)
    public override FrameworkElement GetEditingElement( 
       PaintingContext paintingContext,
       int row,
       int column,
       CellData cellData,
       EventArgs eventArgs
    )

    Parameters

    paintingContext
    The painting context.
    row
    The row index of editing cell.
    column
    The column index of editing cell.
    cellData
    The current cell data.
    eventArgs
    The System.EventArgs object associated with the editing.

    Return Value

    A System.Windows.FrameworkElement object represents the editing element.
    See Also