Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Renderer Namespace / ButtonRenderer Class / PaintCell Method
Unique identifier for the renderer control
Parent of the renderer control
Appearance settings for the renderer control
Margin settings for the renderer control
Value in the renderer control
Whether to display in an up-level browser


In This Topic
    PaintCell Method (ButtonRenderer)
    In This Topic
    Gets the renderer control and renders it in the cell.
    Syntax
    'Declaration
     
    
    Public Overrides Function PaintCell( _
       ByVal id As String, _
       ByVal parent As TableCell, _
       ByVal style As Appearance, _
       ByVal margin As Inset, _
       ByVal value As Object, _
       ByVal upperLevel As Boolean _
    ) As Control
    'Usage
     
    
    Dim instance As ButtonRenderer
    Dim id As String
    Dim parent As TableCell
    Dim style As Appearance
    Dim margin As Inset
    Dim value As Object
    Dim upperLevel As Boolean
    Dim value As Control
     
    value = instance.PaintCell(id, parent, style, margin, value, upperLevel)

    Parameters

    id
    Unique identifier for the renderer control
    parent
    Parent of the renderer control
    style
    Appearance settings for the renderer control
    margin
    Margin settings for the renderer control
    value
    Value in the renderer control
    upperLevel
    Whether to display in an up-level browser

    Return Value

    Control object containing the cell renderer control
    See Also