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

ItemAlign Property

The ItemAlign property specifies the horizontal alignment of content within an item.

This example sets the horizontal alignment to center for the items.

·      Visual Basic

topicbar.ItemStyle.BorderWidth = Unit.Pixel(1)

topicbar.ItemStyle.ItemAlign = HorizontalAlign.Center

·      C#

topicbar.ItemStyle.BorderWidth = Unit.Pixel(1);

topicbar.ItemStyle.ItemAlign = HorizontalAlign.Center;

·      Delphi

topicbar.ItemStyle.BorderWidth := Unit.Pixel(1);

topicbar.ItemStyle.ItemAlign := HorizontalAlign.Center;


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