'Declaration Public Overrides ReadOnly Property BorderSides As Border3DSide
public override Border3DSide BorderSides {get;}
This property returns the borders required to draw the UIElement. Depending on the placement of the popup tool dropdown and other settings, borders may not be needed on all edges. This property takes into account the style of the toolbar.
Imports System.Windows.Forms Public Overrides Property BorderSides() As System.Windows.Forms.Border3DSide Get Return Border3DSide.Left Or Border3DSide.Right End Get Set(ByVal Value As System.Windows.Forms.Border3DSide) MyBase.BorderSides = Value End Set End Property
using System.Windows.Forms; public override System.Windows.Forms.Border3DSide BorderSides { get { return Border3DSide.Left | Border3DSide.Right ; } }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2