Spread for ASP.NET 12 Product Documentation
ApplyStyleTo Method (BaseCellType)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BaseCellType Class : ApplyStyleTo Method
TableCell object, or simply the cell
Style settings (Appearance object) for the control
Margin settings (Inset object) for the control
Whether the control can render in an up-level browser
Applies the appearance and the margin to the cell.
Syntax
'Declaration
 
Protected Sub ApplyStyleTo( _
   ByVal tc As TableCell, _
   ByVal style As Appearance, _
   ByVal margin As Inset, _
   ByVal upperLevel As Boolean _
) 
'Usage
 
Dim instance As BaseCellType
Dim tc As TableCell
Dim style As Appearance
Dim margin As Inset
Dim upperLevel As Boolean
 
instance.ApplyStyleTo(tc, style, margin, upperLevel)
protected void ApplyStyleTo( 
   TableCell tc,
   Appearance style,
   Inset margin,
   bool upperLevel
)

Parameters

tc
TableCell object, or simply the cell
style
Style settings (Appearance object) for the control
margin
Margin settings (Inset object) for the control
upperLevel
Whether the control can render in an up-level browser
See Also

Reference

BaseCellType Class
BaseCellType Members