System.Web.UI.WebControls Namespace Menu Class
.NET Framework version 2.0
Returns or sets additional text shown with all menu items that are statically displayed.
Inline |
<asp:menu staticitemformatstring = strValue ... > |
Script |
Menu.StaticItemFormatString [ = strValue ] |
strValue |
The additional text or characters that appear with all menu items. |
The property is read/write with no default value.
Use the StaticItemFormatString property to insert text to format static menu items in a menu displayed on mobile devices.
The Menu control supports templates for the display of static and static menu items. For mobile devices, templates are ignored, so this property allows you to add characters or text to apply formatting to menu items without using a template.
NOTE: To achieve consistent formatting when you use this property, you should also set the DynamicItemFormatString property if you want the formatting to be identical between the static and dynamic menu items.
If both template formatting and this property are applied, the template formatting is ignored for mobile devices.
Menu Members DynamicItemFormatString