콘텐츠로 이동

MenuBar class

이 콘텐츠는 아직 번역되지 않았습니다.

A horizontal menu bar control for application menus.

Guide: C# Markup reference: Menu

public sealed class MenuBar : Control, IPopupOwner
name description
MenuBar() Initializes a new instance of the MenuBar class.
DrawBottomSeparator { get; set; } Gets or sets a value indicating whether to draw a bottom separator line below the menu bar.
Items { get; } Gets the menu items collection.
Spacing { get; set; } Gets or sets the spacing between menu items.
Add(…) Adds a menu item to the menu bar.
SetItems(…) Sets the menu items collection.
static readonly DrawBottomSeparatorProperty
static readonly SpacingProperty