'宣言 Public Property ButtonType As MenuToolButtonType
public MenuToolButtonType ButtonType {get; set;}
Dim menuTool As New MenuTool() menuTool.Caption = "Menu Tool" menuTool.ButtonType = MenuToolButtonType.Segmented
MenuTool menuTool = new MenuTool(); menuTool.Caption = "Menu Tool"; menuTool.ButtonType = MenuToolButtonType.Segmented;