BaseListBoxControl.ContextButtonValueChanged Event
Fires when the CheckContextButton.Checked, TrackBarContextButton.Value or RatingContextButton.Rating property value changes.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DXCategory("Behavior")]
public event ContextButtonValueChangedEventHandler ContextButtonValueChanged
Event Data
The ContextButtonValueChanged event's data class is DevExpress.Utils.ContextButtonValueEventArgs.
Remarks
For context buttons (see BaseListBoxControl.ContextButtons) displayed in the current BaseListBoxControl, the ContextButtonValueChanged event fires when:
- the checked state of a CheckContextButton is changed (the CheckContextButton.Checked property value is changed);
- the track value of a TrackBarContextButton is changed (the TrackBarContextButton.Value property value is changed);
- the rating value of a RatingContextButton is changed (the RatingContextButton.Rating property value is changed).
The Item property of the ContextButtonValueEventArgs object, passed to the event handler, allows you to determine the context item whose value is changed. The Value property gets the new item value.
See Also