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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈