Spread ASP.NET 6.0 Product Documentation
ApplyStyleTo Method
See Also  Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.