Spread for ASP.NET 9.0 Product Documentation
ApplyBorder Method
Example 


Control to which to apply the border
Border to apply
Applies any non-blank border settings of a border to the specified control.
Syntax
'Declaration
 
Public Shared Sub ApplyBorder( _
   ByVal control As WebControl, _
   ByVal border As Border _
) 
'Usage
 
Dim control As WebControl
Dim border As Border
 
Border.ApplyBorder(control, border)
public static void ApplyBorder( 
   WebControl control,
   Border 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.
FarPoint.Web.Spread.Border border=new FarPoint.Web.Spread.Border(BorderStyle.Dotted,Color.Red,2);
border.ApplyBorder(FpSpread1,border);
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Border Class
Border Members

 

 


Copyright © GrapeCity, inc. All rights reserved.