private void ComboWebcams_OnSelectionChanged(object sender, SelectionChangedEventArgs e) { var index = ComboWebcams.SelectedIndex; if (index != -1) { WebCam.Stop(); var videoDevices = RadWebCam.GetVideoCaptureDevices(); var videoFormats = RadWebCam.GetVideoFormats(videoDevices[index]); WebCam.Initialize(videoDevices[index], videoFormats[0]); WebCam.Start(); } }