Menu::StaticDisplayLevels Property
.NET Framework (current version)
Gets or sets the number of menu levels to display in a static menu.
Assembly: System.Web (in System.Web.dll)
public: [ThemeableAttribute(true)] property int StaticDisplayLevels { int get(); void set(int value); }
Property Value
Type: System::Int32The number of menu levels to display in a static menu. The default is 1.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified value is less than 1. |
Use the StaticDisplayLevels property to specify the number of menu levels to display in a static menu. All menu levels below the specified value are displayed in a dynamic menu. You can also limit the number of menu levels to display in a dynamic menu by setting the MaximumDynamicDisplayLevels property.
.NET Framework
Available since 2.0
Available since 2.0
Show: