The BorderColor property gets or sets the border color of the web server control.
This example uses the default border style: solid with a width size of 5 pixels.
GroupStyle.BorderColor property
The following code shows how to apply the BorderColor property to the GroupStyle object of the C1WebTopicBarControl.
topicbar.GroupStyle.BorderColor = Color.AniqueWhite
· C#
topicbar.GroupStyle.BorderColor = Color.AniqueWhite;
· Delphi
topicbar.GroupStyle.BorderColor := Color. AniqueWhite;
ItemStyle.BorderColor property
The following code shows how to apply the BorderColor property to the ItemStyle object of the C1WebTopicBarControl.
topicbar.ItemStyle.BorderColor = Color.AniqueWhite
· C#
topicbar.ItemStyle.BorderColor = Color.AniqueWhite;
· Delphi
topicbar.ItemStyle.BorderColor := Color.AniqueWhite;
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |