| |||||||||||||||||||||||||||||||||||||||||||||||||||
Customizing the BulletedList Control InterfaceControls You Can Use on Web Forms ASP.NET Standard Controls BulletedList Control The BulletedList control exposes several properties to specify the visual rendering of the bulletedlist items in the control. The following table lists the available bulletedlist item styles you can specify for the BulletedList.
Instead of setting the individual style properties, you can specify styles that are applied to bulletedlist items based on their level by using the following style collections.
The first style in the collection corresponds to the style of the bulletedlist items at the first depth level in the bulletedlist tree. The second style in the collection corresponds to the style of the bulletedlist items at the second depth level in the bulletedlist tree, and so on. This is most often used to generate table of contents-style navigation bulletedlists where bulletedlist items at a certain depth should have the same appearance, regardless of whether they have subbulletedlists.
Another way to alter the appearance of the control is to customize the images displayed in the BulletedList control. You can specify your own custom image for the different parts of the control by setting the properties shown in the following table.
Templates for Control LayoutThe BulletedList control supports additional customization through templates, which offer more control over the rendering of certain elements. The following table lists the template types you can specify for the BulletedList.
You can control the vertical and horizontal position of a dynamic bulletedlist relative to its parent bulletedlist item by setting the DynamicVerticalOffset and DynamicHorizontalOffset properties, respectively. To control the indentation of the static subbulletedlist items within a static bulletedlist, use the StaticSubBulletedListIndent property. See AlsoResponding to BulletedList Item Events Web Forms Server Controls and CSS Styles |
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme