BorderStyle
设置分Label边框类型,BorderStyle型枚举,可选值有:
Fixed3D: 立体边框
FixedSingle:单线条边框
None: 无边框
例如:
Dim
lbl As
WinForm.Label
= e.Form.Controls("Label1")
lbl.BorderStyle
= BorderStyle.FixedSingle
lbl.TextAlign
= ContentAlignment.MiddleCenter
lbl.BorderColor
= Color.Red