DocumentCheckAction(Predicate<Document>, Func<Boolean>, Action<Document>, Action<Document>) Constructor
Initializes a new instance of the DocumentCheckAction class with the specified settings.
Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI
Assembly: DevExpress.XtraBars.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
public DocumentCheckAction(
Predicate<Document> canExecute,
Func<bool> getState,
Action<Document> check,
Action<Document> uncheck
)
Parameters
| Name | Type | Description |
|---|---|---|
| canExecute | Predicate<Document> | A Predicate that specifies the set of criteria and checks whether the Document meets these criteria. The Action is not visible if the canExecute returns false. |
| getState | Func<Boolean> | A Func delegate that returns the boolean value related to the current DocumentCheckAction‘s checked state. |
| check | Action<Document> | An Action delegate that encapsulates a method performed when the DocumentCheckAction is checked. |
| uncheck | Action<Document> | An Action delegate that encapsulates a method, performed when the DocumentCheckAction is unchecked. |
See Also