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

Font Property

The Font property gets the font properties from the FontInfo class associated with the Web server control. The FontInfo exposes the following font style properties:

 

Font Style Properties

Bold

Overline

Italic

Size

Name

Strikeout

Names

Underline

 

GroupStyle.Font property

The following code shows how to apply the Font property to the GroupStyle of the C1WebTopicBarControl.

·      Visual Basic

topicbar.GroupStyle.Font.Bold = True

·      C#

topicbar.GroupStyle.Font.Bold = true;

·      Delphi

topicbar.GroupStyle.Font.Bold := true;

ItemStyle.Font property

Use the code below to apply the Font property to the ItemStyle object of the C1WebTopicBarControl.

 

·      Visual Basic

topicbar.ItemStyle.Font.Bold = True

·      C#

topicbar.ItemStyle.Font.Bold = true;

·      Delphi

topicbar.ItemStyle.Font.Bold := true;


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