The ItemAlign property specifies the horizontal alignment of content within an item.
This example sets the horizontal alignment to center for the items.
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. |