Getting Started with WinForms HeatMap
This article shows how you can start using RadHeatMap. Just drag a RadHeatMap from the toolbox and drop it onto the form. Then, you can define sample data and bind the control:
Setting up the Data
To use the RadHeatMap control you will need to define a model that will describe the data that will be shown.
Setting up the Control
The control works with a few different definitions that describe how to data will be shown. In this example, we will use the CategoricalDefinition. The definition provides few properties to define what data should be used.
- RowGroupMember: Contains the name of the property in the custom model that will be used to generate the rows.
- ColumnGroupMember: Contains the name of the property in the custom model that will be used to generate the columns.
- ValueMember: Contains the name of the property in the custom model that will be used to generate the cells. Based on that value the cell will be colored differently.
What's left is to create our sample data and set the DataSource property of the CategoricalDefinition. Then this definition needs to be applied to the RadHeatMap.Definition property.
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms Heatmap 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)