Skip to main content

DXMenuCheckItem(String, Boolean) Constructor

Initializes a new instance of the DXMenuCheckItem class with the specified caption and check state.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public DXMenuCheckItem(
    string caption,
    bool check
)

Parameters

Name Type Description
caption String

A string that specifies the menu item’s caption. This value is assigned to the DXMenuItem.Caption property.

check Boolean

A Boolean value that specifies the menu item’s check state. This value is assigned to the DXMenuCheckItem.Checked property.

See Also