Menu.DynamicItemFormatString Property
Assembly: System.Web (in system.web.dll)
public: property String^ DynamicItemFormatString { String^ get (); void set (String^ value); }
/** @property */ public String get_DynamicItemFormatString () /** @property */ public void set_DynamicItemFormatString (String value)
public function get DynamicItemFormatString () : String public function set DynamicItemFormatString (value : String)
Property Value
The additional text or characters that appear with all menu items. The default value for this property is "{0}."This property can be used to insert text to format dynamic menu items in a menu displayed on mobile devices. The Menu control supports templates for the display of static and dynamic 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 StaticItemFormatString 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.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note