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


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

    Parameters

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

    Return Value

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