バージョン

BorderSides プロパティ (UIElement)

描画する境界線を示すビットフラグを返します。
シンタックス
'宣言
 
Public Overridable Property BorderSides As Border3DSide
public virtual Border3DSide BorderSides {get; set;}
使用例
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 ;
	}

}
参照