Spread Windows Forms 12.0 Product Documentation
Color Property (ComplexBorderSide)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > ComplexBorderSide Class : Color Property
Gets the color of this side of the complex border.
Syntax
'Declaration
 
Public ReadOnly Property Color As Color
'Usage
 
Dim instance As ComplexBorderSide
Dim value As Color
 
value = instance.Color
public Color Color {get;}

Property Value

Color object containing the color of the complex border side
Remarks
The default value is Color.WindowFrame.
Example
This example returns the color of the side.
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(true, Color.Red, 1.5, Drawing2D.DashStyle.Solid, new float[] {0.335F, 0.5F, 0.66F, 1.0F}, new float[] {0.33F, 0.5F, 0.66F, 1.0F});
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Color c = side.Color
MessageBox.Show("The color of the side is " + c.ToString() & ".");
Dim side As New FarPoint.Win.ComplexBorderSide(True, Color.Red, 1.5, Drawing2D.DashStyle.Solid, New Single() {0.33F, 0.5F, 0.66F, 1.0F}, New Single() {0.33F, 0.5F, 0.66F, 1.0F})
Dim bord As New FarPoint.Win.ComplexBorder(side)
Dim c As Color = side.Color
MessageBox.Show("The color of the side is " + c.ToString() + ".")
See Also

Reference

ComplexBorderSide Class
ComplexBorderSide Members