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.
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.
topicbar.ItemStyle.BorderStyle = BorderStyle.Groove
· C#
topicbar.ItemStyle.BorderStyle = BorderStyle.Groove;
· Delphi
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |