asp.net.ph

Style.BorderStyle Property

System.Web.UI.WebControls Namespace   Style Class


Sets or retrieves the border style of a Web control.

Syntax


Inline <asp:control BorderStyle = enumValue ... >
Script Style.BorderStyle [ = enumValue ]

Property Value

enumValue may be any of the BorderStyle enumeration values.

This property is read/write with a default value of NotSet.

Remarks

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.

See Also

Style Members   BorderStyle Enumeration   Base Web Control Properties Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note