Applies any non-blank border settings of a border to the specified control.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim control As WebControl
Dim border As Border
Border.ApplyBorder(control, border) |
Parameters
- control
- Control to which to apply the border
- border
- Border to apply
Example
This examples creates a new Border object and applies that border to the specified Spread component.
C# | Copy Code |
---|
FarPoint.Web.Spread.Border border=new FarPoint.Web.Spread.Border(BorderStyle.Dotted,Color.Red,2);
border.ApplyBorder(FpSpread1,border); |
Visual Basic | Copy Code |
---|
Dim border As New FarPoint.Web.Spread.Border(BorderStyle.Dotted,Color.Red,2)
border.ApplyBorder(FpSpread1,border) |
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