Skip to content

Commit 4811277

Browse files
authored
Update disable-video-recording-button-radwebcam-winforms.md
1 parent 53ba128 commit 4811277

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

knowledge-base/disable-video-recording-button-radwebcam-winforms.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ ticketid: 1685265
2020
This article explains how to disable video recording in RadWebCam and use only snapshots.
2121

2222
## Solution
23-
To disable the video recording button in RadWebCam and restrict the control to only use the snapshot feature, set the visibility of the recording button to `Collapsed`. This action hides the recording button from the UI.
23+
24+
To disable the video recording button in RadWebCam and specify the control to only use the snapshot feature, set the visibility of the recording button to `Collapsed`. This action hides the recording button from the UI.
2425

2526
```csharp
2627

27-
this.radWebCam.WebCamElement.ToggleRecordingButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
28+
this.radWebCam1.WebCamElement.ToggleRecordingButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
2829

2930
```
3031

0 commit comments

Comments
 (0)