SubMenuStyle Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SubMenuStyle class.
Overloads
SubMenuStyle() |
Initializes a new instance of the SubMenuStyle class. |
SubMenuStyle(StateBag) |
Initializes a new instance of the SubMenuStyle class with the specified view-state information. |
SubMenuStyle()
Initializes a new instance of the SubMenuStyle class.
public:
SubMenuStyle();
public SubMenuStyle ();
Public Sub New ()
Remarks
Use this constructor to create a new instance of the SubMenuStyle class. This constructor is commonly used when dynamically populating the LevelSubMenuStyles collection. It is also used when extending the Menu class to initialize the submenu item style properties, such as DynamicMenuStyle or StaticMenuStyle.
See also
Applies to
SubMenuStyle(StateBag)
Initializes a new instance of the SubMenuStyle class with the specified view-state information.
public:
SubMenuStyle(System::Web::UI::StateBag ^ bag);
public SubMenuStyle (System.Web.UI.StateBag bag);
new System.Web.UI.WebControls.SubMenuStyle : System.Web.UI.StateBag -> System.Web.UI.WebControls.SubMenuStyle
Public Sub New (bag As StateBag)
Parameters
- bag
- StateBag
The view-state information of the current request.
Remarks
Use this constructor to create a new SubMenuStyle object with the information contained in the request's view state.