Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

QueryValueByCheckStateEventArgs Class

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class QueryValueByCheckStateEventArgs :
    QueryCheckStatesEventArgs

#Remarks

Check edit controls enable you to perform custom conversion of the check state to a proper edit value. This can be done by handling the RepositoryItemCheckEdit.QueryValueByCheckState event. The QueryValueByCheckStateEventArgs class provides information about the current check state via its QueryValueByCheckStateEventArgs.CheckState property and allows you to specify an appropriate edit value using the QueryValueByCheckStateEventArgs.Value property. The QueryCheckStatesEventArgs.Handled property inherited from the QueryCheckStatesEventArgs class can be used to cancel default event processing.

Instances of the QueryValueByCheckStateEventArgs class are automatically created and passed to RepositoryItemCheckEdit.QueryValueByCheckState event handlers.

#Inheritance

Object
EventArgs
QueryCheckStatesEventArgs
QueryValueByCheckStateEventArgs
See Also