Back to Devexpress

QueryValueByCheckStateEventArgs Class

windowsforms-devexpress-dot-xtraeditors-dot-controls-5dbbaa4d.md

latest3.4 KB
Original Source

QueryValueByCheckStateEventArgs Class

Provides data for the RepositoryItemCheckEdit.QueryValueByCheckState event.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class QueryValueByCheckStateEventArgs :
    QueryCheckStatesEventArgs
vb
Public Class QueryValueByCheckStateEventArgs
    Inherits QueryCheckStatesEventArgs

QueryValueByCheckStateEventArgs is the data class for the following events:

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

QueryValueByCheckStateEventArgs Members

QueryValueByCheckState

QueryCheckStatesEventArgs

GetValueByState(CheckState)

DevExpress.XtraEditors.Controls Namespace