MESCIUS SPREAD for Windows Forms 17.0J
Left プロパティ (BevelBorder)

左辺の境界線を描画するかどうかを取得します。
構文
'Declaration
 
Public ReadOnly Property Left As Boolean
public bool Left {get;}

プロパティ値

Boolean 値:左辺の境界線を描画する場合は True、それ以外の場合は False
次のサンプルコードは、ベベル境界線を作成します。
FarPoint.Win.BevelBorder bevel = new FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, (int)1.5, true, false, true, false); 
bool b = bevel.Bottom;
bool t = bevel.Top;
bool r = bevel.Right;
bool l = bevel.Left;
if (b && t && r && l) 
{ 
MessageBox.Show("The border covers all the sides"); 
} 
else 
{ 
MessageBox.Show("Some of the sides don't have the border"); 
}
Dim bevel As New FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, True, False, True, False)
Dim b As Boolean = bevel.Bottom
Dim t As Boolean = bevel.Top
Dim r As Boolean = bevel.Right
Dim l As Boolean = bevel.Left
If b AndAlso t AndAlso r AndAlso l Then
MessageBox.Show("The border covers all the sides")
Else
MessageBox.Show("Some of the sides don't have the border")
End If
参照

BevelBorder クラス
BevelBorder メンバ

 

 


© MESCIUS inc. All rights reserved.