Skip to main content
A newer version of this page is available. .

QueryCheckStatesEventArgs Class

Serves as the base for classes providing data for RepositoryItemCheckEdit.QueryCheckStateByValue and RepositoryItemCheckEdit.QueryValueByCheckState events.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public class QueryCheckStatesEventArgs :
    EventArgs

Remarks

Check edit controls enable you to perform your own conversion of the edit value to a proper check state and vice versa. This can be done by handling the RepositoryItemCheckEdit.QueryCheckStateByValue and RepositoryItemCheckEdit.QueryValueByCheckState events respectively. The QueryCheckStateEventArgs class is a common ancestor for the event arguments that define custom CheckEdit.EditValue -> CheckEdit.CheckState and CheckEdit.CheckState -> CheckEdit.EditValue conversions. The QueryCheckStateEventArgs class introduces the QueryCheckStatesEventArgs.Handled property, which allows you to cancel default event processing if you provide your own conversion logic.

Descendants of the QueryCheckStateEventArgs class are automatically created, modified and passed to corresponding event handlers.

See Also