MenuItemBinding.Selectable Property

Definition

Gets or sets a value that indicates whether the menu item to which the MenuItemBinding object is applied can be selected, or is "clickable."

C#
public bool Selectable { get; set; }

Property Value

true if the menu item to which the MenuItemBinding is applied is selectable; otherwise, false.

Remarks

When the Menu control is bound to a data source, use the Selectable property to set the MenuItem.Selectable property of a MenuItem object. This setting is shared with all menu items to which the MenuItemBinding object is applied. When this property is set to false, the menu item is not "clickable" but any child items are displayed.

Applies to

Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also