Skip to content

Commit b0df83d

Browse files
authored
Update disable-video-recording-button-radwebcam-winforms.md
1 parent f3512ad commit b0df83d

File tree

1 file changed

+10
-23
lines changed

1 file changed

+10
-23
lines changed

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

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,32 @@
11
---
22
title: Disabling Video Recording Button in RadWebCam for WinForms
3-
description: Learn how to hide the video recording button in RadWebCam for WinForms to utilize only the snapshot feature.
3+
description: Learn how to disable video recording button in RadWebCam for WinForms to utilize only the snapshot feature.
44
type: how-to
5-
page_title: How to Hide the Video Recording Button in RadWebCam for WinForms
6-
slug: disable-video-recording-button-radwebcam-winforms
7-
tags: radwebcam, winforms, videorecording, ui, customization
5+
page_title: How to Disable Video Recording in RadWebCam
6+
slug: webcam-disable-video-recording
7+
tags: webcam, winforms, videorecording, ui, customization
88
res_type: kb
99
ticketid: 1685265
1010
---
1111

1212
## Environment
1313

14-
<table>
15-
<tbody>
16-
<tr>
17-
<td>Product</td>
18-
<td>RadWebCam for WinForms</td>
19-
</tr>
20-
<tr>
21-
<td>Version</td>
22-
<td>2024.3.924</td>
23-
</tr>
24-
</tbody>
25-
</table>
14+
|Product Version|Product|Author|
15+
|----|----|----|
16+
|2025.1.211|RadWebCam for WinForms|[Nadya Todorova](https://www.telerik.com/blogs/author/nadya-karaivanova)|
2617

2718
## Description
28-
I want to disable the video recording button in the RadWebCam control. My application only requires the snapshot feature, and the video recording option is unnecessary for my use case.
2919

30-
This knowledge base article also answers the following questions:
31-
- How can I hide the video recording button in RadWebCam?
32-
- Is it possible to use RadWebCam for snapshots only?
33-
- Can I customize the RadWebCam UI to remove the video recording functionality?
20+
This article explains how to disable video recording in RadWebCam and use only snapshots.
3421

3522
## Solution
3623
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.
3724

3825
```csharp
26+
3927
radWebCam.WebCamElement.ToggleRecordingButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
40-
```
4128

42-
By applying this code, the RadWebCam control will continue to function, but without displaying the video recording button, effectively limiting its use to taking snapshots.
29+
```
4330

4431
## See Also
4532

0 commit comments

Comments
 (0)