Back to Devexpress

QueryCheckStateByValueEventArgs Class

windowsforms-devexpress-dot-xtraeditors-dot-controls-66e44247.md

latest3.4 KB
Original Source

QueryCheckStateByValueEventArgs Class

Provides data for the RepositoryItemCheckEdit.QueryCheckStateByValue event.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

QueryCheckStateByValueEventArgs is the data class for the following events:

Remarks

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

Instances of the QueryCheckStateByValueEventArgs class are automatically created and passed to RepositoryItemCheckEdit.QueryCheckStateByValue event handlers.

Inheritance

Object EventArgs QueryCheckStatesEventArgs QueryCheckStateByValueEventArgs

See Also

QueryCheckStateByValueEventArgs Members

QueryCheckStateByValue

QueryCheckStatesEventArgs

GetStateByValue(Object)

DevExpress.XtraEditors.Controls Namespace