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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기