Spread Windows Forms 10.0 Product Documentation
ComplexBorder Constructor(ComplexBorderSide)
Example 


ComplexBorderSide object to use for sides
Creates a complex border with the specified ComplexBorderSide object to use for all four sides.
Syntax
'Declaration
 
Public Function New( _
   ByVal sides As ComplexBorderSide _
)
'Usage
 
Dim sides As ComplexBorderSide
 
Dim instance As New ComplexBorder(sides)
public ComplexBorder( 
   ComplexBorderSide sides
)

Parameters

sides
ComplexBorderSide object to use for sides
Example
This example creates one side of a four-sided, complex border with default color SystemColors.WindowFrame, default width of 1, default dash style of Solid, and empty dash pattern and compound array.
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide();
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Dim side As New FarPoint.Win.ComplexBorderSide
Dim bord As New FarPoint.Win.ComplexBorder(side)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ComplexBorder Class
ComplexBorder Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.