This documentation is archived and is not being maintained.
ToolStripStatusLabel.BorderSides Property
Visual Studio 2008
Gets or sets a value that indicates which sides of the ToolStripStatusLabel show borders.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
'Declaration Public Property BorderSides As ToolStripStatusLabelBorderSides 'Usage Dim instance As ToolStripStatusLabel Dim value As ToolStripStatusLabelBorderSides value = instance.BorderSides instance.BorderSides = value
Property Value
Type: System.Windows.Forms.ToolStripStatusLabelBorderSidesOne of the ToolStripStatusLabelBorderSides values. The default is None.
The following code example demonstrates the syntax for various ToolStripStatusLabel common properties, including the BorderSides property.
' toolStripStatusLabel1.BorderSides = CType(System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom, System.Windows.Forms.ToolStripStatusLabelBorderSides) toolStripStatusLabel1.BorderStyle = System.Windows.Forms.Border3DStyle.Raised toolStripStatusLabel1.IsLink = True toolStripStatusLabel1.Name = "toolStripStatusLabel1" toolStripStatusLabel1.Size = New System.Drawing.Size(246, 20) toolStripStatusLabel1.Spring = True toolStripStatusLabel1.Text = "toolStripStatusLabel1" toolStripStatusLabel1.Alignment = ToolStripItemAlignment.Left
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: