Version

BorderSides Property (PreNodeAreaUIElement)

Overrides the BorderSides to return the BorderSides from the UIElement
Syntax
'Declaration
 
Public Overrides ReadOnly Property BorderSides As Border3DSide
public override Border3DSide BorderSides {get;}
Example
In this sample we override the virtual property BorderSides of UIElement. The returns flags indicating which borders will be drawn. In this case we only want the right and left edges to be drawn.

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 ;
	}

}
Requirements

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

See Also