Hello,
I want to know how to use the ClearValue method on ComboEditor style in the CellValuePresenter.
Thanks
If you need to clear the selected value of the XamComboEditor, you can just clear the value of the cell itself. If you need to make further changes, you can get to the XamComboEditor through the CellValuePresenter's Editor property. You can get the CVP with the following method:CellValuePresenter.FromCell(...);
I'll instantiate my question:
I have a XamDataGrid, bound to an hierarchical data source. One of the properties in the second FieldLayout is presented as a combo (I used a XamComboEditor style as the value editor).
I want to write a method which clears the selected value in this combo when meeting some condition.
I can't find where to call the ClearValue method, or some another method which does the same.
Need assistance with this.
Thanks in advance.