单选题
为了使标签Labell透明且不具有边框,以下正确的属性设置是
A、
Label 1.BackStyle=0:Label 1.BorderStyle=1
B、
Label 1.BackStyle=0:Label 1.BorderStyle=0
C、
Label 1.BackStyle=1:Label 1.BorderStyle=1
D、
Label 1.BackStyle=1:Label 1.BorderStyle=0
【正确答案】
B
【答案解析】
解析:标签的Borderstyle属性用来设置标签的边框,可以取两种值,即0(无边框,为默认值)和1(有边框);BackStyle属性用于设置是否让标签覆盖背景,口丁以取0(标签不覆盖背景,以透明方式显示)和1(默认值,标签覆盖背景)。
提交答案
关闭