ComponentOne WebMenus and WebBars for ASP.NET: Defining the GroupStyle and ItemStyle Classes > Common GroupStyle and ItemStyle Properties > Width Property

Width Property

The Width property gets or sets the width of the Web server control. The Width style property is only available in the GroupStyle object. You can't apply a different width size for each group.

The following code shows how to apply the Width property to the C1WebTopicBar control.

      Visual Basic

topicbar.Width = Unit.Pixel(250)

      C#

topicbar.Width = Unit.Pixel(250);


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