A gallery repeats its template for the records in Items. Its Selected property identifies one of those records. A detail label or form can read the selection directly, so changing the selected row changes the dependent display. That binding is more reliable than copying a title into a separate label.
The practice records include two Dock inspection titles. Select by ID when a request names an exact row. Filtering can also change which records are available to select. Read the gallery population and its selected identity separately. These tasks check the Items result, then change a selection or status input to make sure the app follows its current state.