Skip to main content

DocumentCheckAction.CheckedCommand Property

Gets a Command, executed when the current DocumentCheckAction is checked.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public ICommand<Document> CheckedCommand { get; }

Property Value

Type Description
DevExpress.XtraBars.Docking2010.Views.WindowsUI.ICommand<Document>

An ICommand executed when the current DocumentCheckAction is checked.

Remarks

Checking and unchecking a DocumentCheckAction object may trigger different actions. Use the DocumentCheckAction.UncheckedCommand to get a command executed when the current DocumentCheckAction is unchecked. To perform the same actions on each DocumentCheckAction checked state change, use the DocumentCheckAction constructor overload that takes the toggle action as a parameter. See the How To: Create Custom Document Actions topic to learn more.

See Also