Spread for ASP.NET 8.0 Product Documentation
PaintCell Method (IRenderer2)


Unique identifier for the renderer control
Parent table cell of the renderer control
Appearance settings for the renderer control
Margin settings for the renderer control
Value to display in the renderer control
Whether to display in a up-level browser
Whether the cell is locked
Whether to print
Whether the operation mode of Spread is Normal or RowMode
Gets the renderer control and renders it in the cell.
Syntax
'Declaration
 
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, _
   ByVal locked As Boolean, _
   ByVal print As Boolean, _
   ByVal editMode As Boolean _
) As Control
'Usage
 
Dim instance As IRenderer2
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 locked As Boolean
Dim print As Boolean
Dim editMode As Boolean
Dim value As Control
 
value = instance.PaintCell(id, parent, style, margin, value, upperLevel, locked, print, editMode)
Control PaintCell( 
   string id,
   TableCell parent,
   Appearance style,
   Inset margin,
   object value,
   bool upperLevel,
   bool locked,
   bool print,
   bool editMode
)

Parameters

id
Unique identifier for the renderer control
parent
Parent table cell of the renderer control
style
Appearance settings for the renderer control
margin
Margin settings for the renderer control
value
Value to display in the renderer control
upperLevel
Whether to display in a up-level browser
locked
Whether the cell is locked
print
Whether to print
editMode
Whether the operation mode of Spread is Normal or RowMode

Return Value

Control object containing the cell renderer control
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

IRenderer2 Interface
IRenderer2 Members

 

 


Copyright © GrapeCity, inc. All rights reserved.