Spread Windows Forms 7.0 Product Documentation
DashStyle Property
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ComplexBorderSide Class : DashStyle Property


Glossary Item Box

Gets the dash style of this side of the complex border.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property DashStyle As DashStyle
Visual Basic (Usage)Copy Code
Dim instance As ComplexBorderSide
Dim value As DashStyle
 
value = instance.DashStyle
C# 
public DashStyle DashStyle {get;}

Property Value

DashStyle setting that determines the style of the dashed lines for the border side

Example

This example returns the dash style for the side.
C#Copy Code
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);
System.Drawing.Drawing2D.DashStyle ds = side.DashStyle;
MessageBox.Show("The dash style for the side is " + Convert.ToInt32(ds).ToString() + ".");
Visual BasicCopy Code
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 ds As System.Drawing.Drawing2D.DashStyle = side.DashStyle
MessageBox.Show("The dash style for the side is " + Convert.ToInt32(ds).ToString() + ".")

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.