RepositoryItemPopupBase.ContextButtonValueChanged Event
Fires when the CheckContextButton.Checked, TrackBarContextButton.Value or RatingContextButton.Rating property value changes.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DXCategory("Context Buttons")]
public event ContextButtonValueChangedEventHandler ContextButtonValueChanged
Event Data
The ContextButtonValueChanged event's data class is DevExpress.Utils.ContextButtonValueEventArgs.
Remarks
For context buttons (see RepositoryItemPopupBase.ContextButtons) displayed by editor items, 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.