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


In This Topic
    PaintBackground Method (CellTypeBase)
    In This Topic
    Paints the background of a cell.
    Syntax
    'Declaration
     
    Public MustOverride Function PaintBackground( _
       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.PaintBackground(paintingContext, row, column, cellData)
    public abstract UIElement PaintBackground( 
       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
    The cell data of painting cell.

    Return Value

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