System.Web.UI.WebControls Namespace Style Class
Sets or retrieves the border style of a Web control.
Inline |
<asp:control BorderStyle = enumValue ... > |
Script |
Style.BorderStyle [ = enumValue ] |
enumValue may be any of the BorderStyle enumeration values.
This property is read/write with a default value of NotSet.
BorderStyle is used to specify in what style the border of a Web server control is rendered. This property is set using a BorderStyle enumeration value, the possible values of which are shown above.
A BorderWidth greater than 0 must be set for the BorderStyle attribute to render.
NOTE: This property will not render on browsers earlier than Microsoft® Internet Explorer® 4 for any Web server control. There is no equivalent property in HTML 3.2.
Style Members BorderStyle Enumeration Base Web Control Properties