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 C1WebTopicBar control. The outset border style is used in this example.
topicbar.GroupStyle.BorderStyle = BorderStyle.Outset
• C#
topicbar.GroupStyle.BorderStyle = BorderStyle.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 C1WebTopicBar control. The Groove border style is used in this example.
topicbar.ItemStyle.BorderStyle = BorderStyle.Groove
• C#
topicbar.ItemStyle.BorderStyle = BorderStyle.Groove;
|