LabelPaddingLeft Property
The LabelPaddingLeft property gets the left padding for the item's text.
This example assigns the LabelPaddingLeft property to 20 pixels. The ImageUrl property is also applied to demonstrate that the LabelPaddingLeft property gets the space between the image and the label's text.
topicbar.ItemStyle.ImageUrl = "~/Images/house.gif"
topicbar.ItemStyle.LabelPaddingLeft = Unit.Pixel(20)
• C#
topicbar.ItemStyle.ImageUrl = "~/Images/house.gif";
topicbar.ItemStyle.LabelPaddingLeft = Unit.Pixel(20);
|