Spread for ASP.NET 7.0 Product Documentation
ApplyStyleTo Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BaseCellType Class : ApplyStyleTo Method


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

Glossary Item Box

Applies the appearance and the margin to the cell.

Syntax

Visual Basic (Declaration) 
Protected Sub ApplyStyleTo( _
   ByVal tc As TableCell, _
   ByVal style As Appearance, _
   ByVal margin As Inset, _
   ByVal upperLevel As Boolean _
) 
Visual Basic (Usage)Copy Code
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)
C# 
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

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.