Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType Namespace / CellTypeBase Class / PaintContent Method
The painting context.
The row index of painting cell.
The column index of painting cell.


In This Topic
    PaintContent Method (CellTypeBase)
    In This Topic
    Paints the content of a cell.
    Syntax
    'Declaration
     
    Public MustOverride Function PaintContent( _
       ByVal paintingContext As PaintingContext, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal celldata As CellData _
    ) As UIElement
    'Usage
     
    Dim instance As CellTypeBase
    Dim paintingContext As PaintingContext
    Dim row As Integer
    Dim column As Integer
    Dim celldata As CellData
    Dim value As UIElement
     
    value = instance.PaintContent(paintingContext, row, column, celldata)
    public abstract UIElement PaintContent( 
       PaintingContext paintingContext,
       int row,
       int column,
       CellData celldata
    )

    Parameters

    paintingContext
    The painting context.
    row
    The row index of painting cell.
    column
    The column index of painting cell.
    celldata

    Return Value

    An System.Windows.UIElement object represents the content of painting cell.
    See Also