Skip to main content

DocumentCheckAction(Func<Boolean>, Action<Document>) Constructor

Initializes a new instance of the DocumentCheckAction class with the specified settings.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public DocumentCheckAction(
    Func<bool> getState,
    Action<Document> toggle


Name Type Description
getState Func<Boolean>

A Func delegate that returns the boolean value related to the current DocumentCheckAction‘s checked state.

toggle Action<Document>

An Action delegate that encapsulates a method executed whenever the DocumentCheckAction‘s checked state changes.

See Also