Spread Windows Forms 10.0 Product Documentation
Draw Property
Example 


Gets whether this side is drawn in the complex border.
Syntax
'Declaration
 
Public ReadOnly Property Draw As Boolean
'Usage
 
Dim instance As ComplexBorderSide
Dim value As Boolean
 
value = instance.Draw
public bool Draw {get;}

Property Value

true to draw this side of the border; false otherwise
Example
This example returns whether the side is drawn.
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(true, Color.Red, (int)1.5, System.Drawing.Drawing2D.DashStyle.Solid, new float[] {0.33F, 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);
bool b = side.Drawn;
MessageBox.Show("It is " + b.ToString() + " that the side is drawn.");
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 b As Boolean = side.Drawn
MessageBox.Show("It is " + b.ToString() + " that the side is drawn.")
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

ComplexBorderSide Class
ComplexBorderSide Members

 

 


Copyright © GrapeCity, inc. All rights reserved.