バージョン

BorderStyle プロパティ (GalleryItemUIElementBase)

要素の BorderStyle。 Infragistics.Win.UIElementBorderStyle
シンタックス
'宣言
 
Public Overrides ReadOnly Property BorderStyle As Infragistics.Win.UIElementBorderStyle
public override Infragistics.Win.UIElementBorderStyle BorderStyle {get;}
使用例
Imports Infragistics.Win

Public Overrides Property BorderStyle() As UIElementBorderStyle

       Get

				' Returns borderstyle based on FlatMode property of the control.
           If Me.ControlElement.UltraControl.IsFlatMode Then
               Return UIElementBorderStyle.Solid
           Else
               Return UIElementBorderStyle.Raised
           End If

       End Get

       Set(ByVal Value As UIElementBorderStyle)

           MyBase.BorderStyle = Value

       End Set

   End Property
using Infragistics.Win;

public override UIElementBorderStyle BorderStyle
{

	get
	{

		// Return borderstyle based on FlatMode property of the control.

		if (this.ControlElement.UltraControl.IsFlatMode)
			return UIElementBorderStyle.Solid;
		else
			return UIElementBorderStyle.Raised;

	}

}
参照