ComponentOne WebMenus and WebBars for ASP.NET (2.0) Search HelpCentral 

BorderStyle Property

The BorderStyle property gets or sets the border style of the web server control. The BorderStyle property includes the following border styles:

Border Styles

Dash

None

Dotted

Notset

Double

Outset

Groove

Ridge

Inset

Solid

GroupStyle.BorderStyle property

The following code shows how to apply the BorderStyle property to the GroupStyle object of the C1WebTopicBarControl. The outset border style is used in this example.

·      Visual Basic

topicbar.GroupStyle.BorderStyle = BorderStyle.Outset

·      C#

topicbar.GroupStyle.BorderStyle = BorderStyle.Outset;

·      Delphi

topicbar.GroupStyle.BorderStyle := BoderStyle.Outset;

ItemStyle.BorderStyle property

The ItemStyle.BorderStyle property gets or sets the border style of the items in the web server control.

The following code shows how to apply the BorderStyle property to the ItemStyle object of the C1WebTopicBarControl. The Groove border style is used in this example.

·      Visual Basic

topicbar.ItemStyle.BorderStyle = BorderStyle.Groove

·      C#

topicbar.ItemStyle.BorderStyle = BorderStyle.Groove;

·      Delphi

topicbar.ItemStyle.BorderStyle := BorderStyle.Groove;


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.