Skip to main content

SchedulerPopupMenu.GetMenuCheckItemById(SchedulerMenuItemId) Method

Gets a menu check item by its ID value.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public SchedulerMenuCheckItem GetMenuCheckItemById(
    SchedulerMenuItemId id
)

Parameters

Name Type Description
id SchedulerMenuItemId

A SchedulerMenuItemId enumeration value which specifies the ID value of the menu check item to search.

Returns

Type Description
SchedulerMenuCheckItem

A SchedulerMenuCheckItem object whose ID is equal to the specified ID value. If a check item with the specified ID isn’t found, then the null (Nothing in Visual Basic) value will be returned.

Remarks

Use the GetMenuCheckItemById method to find a menu check item which has the specified ID value in the DXSubMenuItem.Items collection of this popup menu, or in any of its submenus. Note that this method finds only the first occurrence of a check item with the specified ID.

See Also