EasyQuery allows you to define custom value editor for some attribute and then create your own UI to edit condition values for this attribute. Here are the step-by-step instructions:
Here is an example of ValueRequest event handler:
private void QPanel_ValueRequest(object sender, ValueRequestEventArgs e) { //checking if this condition row is associated with some SimpleCondition object if (((QueryPanel)sender).ActiveRow is QueryPanel.SimpleConditionRow) { SimpleCondition cond = (SimpleCondition)e.Condition; //if we need our entity attribute - we can get it from BaseAttr property of SimpleCondition object EntityAttr attr = cond.BaseAttr; //bring your own dialog to edit condition value //you can use event parameter properties Value and Text to get current value . . . . . . . . //after the dialog is closed - return new value and (if necessary) text via event's parameter e.Value = "<new value>"; e.Text = "<new text>"; //you can omit this } }
Discussion