Back to Devexpress

SchedulerPopupMenu.GetMenuCheckItemById(SchedulerMenuItemId) Method

windowsforms-devexpress-dot-xtrascheduler-dot-schedulerpopupmenu-dot-getmenucheckitembyid-x28-devexpress-dot-xtrascheduler-dot-schedulermenuitemid-x29.md

latest2.3 KB
Original Source

SchedulerPopupMenu.GetMenuCheckItemById(SchedulerMenuItemId) Method

Gets a menu check item by its ID value.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public SchedulerMenuCheckItem GetMenuCheckItemById(
    SchedulerMenuItemId id
)
vb
Public Function GetMenuCheckItemById(
    id As SchedulerMenuItemId
) As SchedulerMenuCheckItem

Parameters

NameTypeDescription
idSchedulerMenuItemId

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

|

Returns

TypeDescription
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

GetMenuItemById

SchedulerPopupMenu Class

SchedulerPopupMenu Members

DevExpress.XtraScheduler Namespace