aspxtreme

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



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

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

You can help support aspxtreme