In https://learn.microsoft.com/en-us/windows/apps/develop/camera/camera-quickstart-winui3#create-a-new-winui-3-app the code is missing code for the cbDeviceList SelectionChanged event.