webcam settings dialog

1 Answer 42 Views
WebCam
David
Top achievements
Rank 1
Iron
Iron
David asked on 22 Mar 2022, 03:53 AM

Hello,

is it possible to modify the presentation of the dettings in teh WebCam Settings dialog? My client would like to have the settings shown in a collapsible panel on the form, they do not like the dialog window. What options do we have for overriding this UI?

 

thanks!

-David

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 22 Mar 2022, 01:59 PM

Hello, David,

The settings dialog that RadWebCam offers is designed to be displayed as a standalone form. Even though it is possible to host a Form in another control, the CameraSettingsDialog relies on the internal MediaSettingsViewModel and the internal WebCamPresenter. It is specifically implemented in such a way that we don't have public access to these fields and classes. 

The possible solution that I can suggest is to simulate showing the dialog so we can access the initialized dialog and add the respective controls to the collapsible panel. I have prepared a sample project for your reference. Please give it a try and see how it works for your scenario:  

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

David
Top achievements
Rank 1
Iron
Iron
commented on 24 Mar 2022, 10:25 PM

Ok, we can work with that. Is there a way to move the panel where the buttons are hosted to the right side? I've looked at all the properties and cannot see anything.
Dess | Tech Support Engineer, Principal
Telerik team
commented on 25 Mar 2022, 09:16 AM

Hello, David,

You can move the RadCollapsiblePanel in the designer and put it on the right side of RadWebCam. Then, set the radCollapsiblePanel.ExpandDirection property to Right: