Getting Started with WinForms BrowseEditor
This article shows how you can start using RadBrowseEditor.
Adding Telerik Assemblies Using NuGet
To use RadBrowseEditor
when working with NuGet packages, install the Telerik.UI.for.WinForms.AllControls
package. The package target framework version may vary.
Read more about NuGet installation in the Install using NuGet Packages article.
With the 2025 Q1 release, the Telerik UI for WinForms has a new licensing mechanism. You can learn more about it here.
Adding Assembly References Manually
When dragging and dropping a control from the Visual Studio (VS) Toolbox onto the Form Designer, VS automatically adds the necessary assemblies. However, if you're adding the control programmatically, you'll need to manually reference the following assemblies:
- Telerik.Licensing.Runtime
- Telerik.WinControls
- Telerik.WinControls.UI
- TelerikCommon
The Telerik UI for WinForms assemblies can be install by using one of the available installation approaches.
Defining the RadBrowseEditor
The following example demonstrates how to change the image of a RadButton using the RadBrowseEditor.
Figure 1: Browsed Image
1. Drag a RadBrowseEditor and a RadButton on a form.
2. Select the RadButton and in the Property Window set the DisplayStyle to Image
3. Select the RadBrowseEditor, click the Events tab of the Property Window, locate the ValueChanged event and double-click it in order to create an event handler. Replace the event handler with the following code.
private void radBrowseEditor1_ValueChanged(object sender, EventArgs e)
{
this.radButton1.Image = Image.FromFile(this.radBrowseEditor1.Value);
}
Private Sub RadBrowseEditor1_ValueChanged(sender As Object, e As EventArgs)
Me.RadButton1.Image = System.Drawing.Image.FromFile(Me.RadBrowseEditor1.Value)
End Sub
4. Press F5 to run the application. Press the browse button and select an image. The image is then applied to the RadButton.
See Also
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms Browseeditor Component
- Getting Started with Telerik UI for WinForms Components
- Telerik UI for WinForms Setup
- Telerik UI for WinForms Application Modernization
- Telerik UI for WinForms Visual Studio Templates
- Deploy Telerik UI for WinForms Applications
- Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)
- Telerik UI for WinForms License Agreement)