Sets or returns the border's line style.

 public LineStyle Style{ get; set; }
Public Property Style() As LineStyle

To set the line style for a specific part of the border get the BorderPart object for the desired part of the border.


          //--- Get LineStyle
          Border.LineStyle ls = b.LineStyle;

          //--- Set LineStyle
          b.LineStyle = Border.LineStyle.Thick;
        

          '--- Get LineStyle
          Dim ls As Border.LineStyle = b.LineStyle

          '--- Set LineStyle
          b.LineStyle = Border.LineStyle.Thick