xTextBoxSearch

Multiselection

For selecting more than one rows in a DataGrid, check the IsMultiSelect property of the control:

The row collection can be accessed as follows:

xTextBoxSearch MultiSelection

When setting the IsMultiSelect property on the xTextBoxSearch, the control will contain a collection of rows in the ExtraRows property. The value provided in ItemChanged control should be retrieved, while each element in the ExtraRows property must be added.

When performing search using F8/F9 on the control or by clicking on the search icon, the first row in the selection goes into the newValue/SelectedRow, while the 2nd row until the last are added in the ExtraRows property. When performing a drag & drop from the Navigator, the 1st row until the last are added in the ExtraRows property.

In order to avoid adding the same information twice, the control exposes the “RetrieveCurrentValue” property, which controls whether the newValue/SelectedRow shoud be loaded

xTextBoxSearch NoResultFound

This event is triggers when no result is found following a search.

On the Opened method you attach to the TextBox.

The implementation of TbsBetriebsauftrag_OnNoResultFound, sender will have the searched text, on searchedBabNr = sender as string. This implementation is found in wndRM

Last updated