バージョン

DrawBorders(UIElementBorderStyle,Border3DSide,Corners,Pen,Pen,Pen,Pen,Rectangle,Rectangle) メソッド

提供された四角形の周囲に境界線を描画します
シンタックス
'宣言
 
Public Overloads Sub DrawBorders( _
   ByVal style As UIElementBorderStyle, _
   ByVal sides As Border3DSide, _
   ByVal roundedCorners As Corners, _
   ByVal outerLeftTopPen As Pen, _
   ByVal outerRightBottomPen As Pen, _
   ByVal innerLeftTopPen As Pen, _
   ByVal innerRightBottomPen As Pen, _
   ByVal rect As Rectangle, _
   ByVal clipRect As Rectangle _
) 

パラメータ

style
境界線のスタイル。
sides
どちらの辺を描画するかを示すビットフラグ
roundedCorners
丸められる角。これは丸められていない枠のスタイルを無視します
outerLeftTopPen
外枠の左上を描画するために使用されるペン。
outerRightBottomPen
外枠の右下を描画するために使用されるペン。
innerLeftTopPen
内枠の左上を描画するために使用されるペン。
innerRightBottomPen
内枠の右下を描画するために使用されるペン。
rect
この四角形内に境界線が描画されます
clipRect
この領域の外側には何も描画されません。
参照