Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType Namespace / UniversalCellType Class / PaintBackground Method / PaintBackground(PaintingContext,Int32,Int32,CellData) 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(PaintingContext,Int32,Int32,CellData) Method
    In This Topic
    Paints the background of a cell.
    Syntax
    'Declaration
     
    Public Overloads Overrides NotOverridable Function PaintBackground( _
       ByVal paintingContext As PaintingContext, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal cellData As CellData _
    ) As UIElement
    'Usage
     
    Dim instance As UniversalCellType
    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 override 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