private void OnQueryPopup(object sender, CancelEventArgs e)
        {
            TrackBarRange value = ValuesConverter.StringToTrackBarRange((sender as PopupContainerEdit).Text);

            if (value.IsEmpty)
            {
                e.Cancel = true;
            }
            else
            {
                ApplyValue(value);
            }
        }
 private void OnQueryResultValue(object sender, DevExpress.XtraEditors.Controls.QueryResultValueEventArgs e)
 {
     e.Value = ValuesConverter.TrackBarRangeToString(rangeTrackBarControl1.Value);
 }
 public Form1()
 {
     InitializeComponent();
     popupContainerEdit1.Text = ValuesConverter.TrackBarRangeToString(new TrackBarRange(5, 10));
 }