DocumentCheckAction.CheckedCommand Property

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

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public ICommand<Document> CheckedCommand { get; }
Public ReadOnly Property CheckedCommand As ICommand(Of Document)

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.

Implements

DevExpress.XtraBars.Docking2010.Views.WindowsUI.IUICheckAction<DevExpress.XtraBars.Docking2010.Views.WindowsUI.Document>.CheckedCommand
See Also