Table of Contents

Method CheckSingleItem

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CheckSingleItem(MenuItem?)

Checks the specified item and unchecks all other sibling menu items.

public virtual bool CheckSingleItem(MenuItem? item)

Parameters

item MenuItem

The item to check exclusively; may be null.

Returns

bool

Remarks

If item is not null, its Checked property will be set to true. All other items will be unchecked to maintain exclusivity.