This documentation is archived and is not being maintained.
Menu::StaticSubMenuIndent Property
Visual Studio 2010
Gets or sets the amount of space, in pixels, to indent submenus within a static menu.
Assembly: System.Web (in System.Web.dll)
[ThemeableAttribute(true)] public: property Unit StaticSubMenuIndent { Unit get (); void set (Unit value); }
<asp:Menu StaticSubMenuIndent="Unit" />
Property Value
Type: System.Web.UI.WebControls::UnitA Unit that represents the amount of space, in pixels, to indent submenus within a static menu. The default is 0.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value of the selected Unit is less than 0. |
When the static menu displays more than one menu level (if the StaticDisplayLevels property is set to a value higher than 1), use the StaticSubMenuIndent property to specify the number of pixels by which to indent the submenu items within the static menu.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: