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

ForeColor Property

The ForeColor property gets or sets the foreground color of the Web server control.

GroupStyle.ForeColor property

The following code shows how to apply the ForeColor property to the GroupStyle.

·      Visual Basic

topicbar.GroupStyle.ForeColor = Color.DeepSkyBlue

·      C#

topicbar.GroupStyle.ForeColor = Color.DeepSkyBlue;

·      Delphi

topicbar.GroupStyle.ForeColor:= Color.DeepSkyBlue;

ItemStyle.ForeColor property

This example shows how to apply the ForeColor property to the ItemStyle.

·      Visual Basic

topicbar.ItemStyle.ForeColor = Color.DeepSkyBlue

·      C#

topicbar.ItemStyle.ForeColor = Color.DeepSkyBlue;

·      Delphi

topicbar.ItemStyle.ForeColor:= Color.DeepSkyBlue;


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