skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class HeatMapDefinition

A base class for the definitions based on which a RadHeatMap is constructed.

Inheritance
System.Object
HeatMapDefinition
CategoricalDefinition
MemberDefinitionBase
Namespace: Telerik.WinControls.UI.HeatMap
Assembly: Telerik.WinControls.UI.dll

Syntax

public abstract class HeatMapDefinition : Component, IDataItemSource

Constructors

HeatMapDefinition()

Initializes a new instance of the HeatMapDefinition class.

Declaration
protected HeatMapDefinition()

Properties

ColumnsCount

Gets the columns count.

Declaration
public int ColumnsCount { get; }
Property Value
System.Int32

DataSource

Gets or sets the data source.

Declaration
public object DataSource { get; set; }
Property Value
System.Object

DataView

Gets the DataView collection.

Declaration
public RadCollectionView<HeatMapDataItem> DataView { get; }
Property Value
RadCollectionView<HeatMapDataItem>

Items

Gets a collection of HeatMapDataItem objects which represent the items in RadHeatMap.

Declaration
public HeatMapDataItemCollection Items { get; protected set; }
Property Value
HeatMapDataItemCollection

ListSource

Gets the source of the items.

Declaration
public RadListSource<HeatMapDataItem> ListSource { get; }
Property Value
RadListSource<HeatMapDataItem>

RowsCount

Gets the rows count.

Declaration
public int RowsCount { get; }
Property Value
System.Int32

Source

Gets the collection source used internally by the heat map definition.

Declaration
protected abstract IHeatMapSource Source { get; }
Property Value
IHeatMapSource

Methods

CreateBindingContext()

Creates the binding context.

Declaration
protected virtual BindingContext CreateBindingContext()
Returns
System.Windows.Forms.BindingContext

CreateDataItem()

Declaration
protected abstract HeatMapDataItem CreateDataItem()
Returns
HeatMapDataItem

CreateListSource()

Creates the list source.

Declaration
protected virtual RadListSource<HeatMapDataItem> CreateListSource()
Returns
RadListSource<HeatMapDataItem>

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

GetColor(Int32, Int32)

Gets the color of the cell.

Declaration
public abstract int GetColor(int rowIndex, int columnIndex)
Parameters
System.Int32 rowIndex

The row index.

System.Int32 columnIndex

The column index.

Returns
System.Int32

The color of the cell.

GetColor(CellIndex)

Declaration
public int GetColor(CellIndex cellIndex)
Parameters
CellIndex cellIndex

Returns
System.Int32

GetColumnHeader(Int32)

Gets the header of the corresponding column.

Declaration
public abstract object GetColumnHeader(int index)
Parameters
System.Int32 index

The column index.

Returns
System.Object

The header of the corresponding column.

GetDataItem(Int32, Int32)

Declaration
public HeatMapDataItem GetDataItem(int rowIndex, int columnIndex)
Parameters
System.Int32 rowIndex

System.Int32 columnIndex

Returns
HeatMapDataItem

GetDataItem(CellIndex)

Declaration
public HeatMapDataItem GetDataItem(CellIndex cellIndex)
Parameters
CellIndex cellIndex

Returns
HeatMapDataItem

GetForeColor(Color)

Gets the foreground color based on the darkness of the background.

Declaration
public virtual Color GetForeColor(Color backColor)
Parameters
System.Drawing.Color backColor

The background color.

Returns
System.Drawing.Color

If the background is dark returns System.Drawing.Color.White foreground color, othewise returns System.Drawing.Color.Black.

GetRowHeader(Int32)

Gets the header of the corresponding row.

Declaration
public abstract object GetRowHeader(int index)
Parameters
System.Int32 index

The row index.

Returns
System.Object

The header of the corresponding row.

GetValue(Int32, Int32)

Declaration
public double GetValue(int rowIndex, int columnIndex)
Parameters
System.Int32 rowIndex

System.Int32 columnIndex

Returns
System.Double

GetValue(CellIndex)

Declaration
public double GetValue(CellIndex cellIndex)
Parameters
CellIndex cellIndex

Returns
System.Double

InitializeHeatMap()

Declaration
public void InitializeHeatMap()

ItemsPropertyChanged()

Declaration
protected void ItemsPropertyChanged()

NewItem()

Declaration
public IDataItem NewItem()
Returns
IDataItem

Implements
IDataItemSource.NewItem()

OnDataItemCreating(HeatMapItemCreatingEventArgs)

Fires the ItemCreating event.

Declaration
protected virtual void OnDataItemCreating(HeatMapItemCreatingEventArgs args)
Parameters
HeatMapItemCreatingEventArgs args

The event arguments.

OnItemDataBound(HeatMapItemEventArgs)

Fires the ItemDataBound event.

Declaration
protected virtual void OnItemDataBound(HeatMapItemEventArgs args)
Parameters
HeatMapItemEventArgs args

The event arguments.

OnItemsChanged()

This method is called when the Items changes.

Declaration
protected abstract void OnItemsChanged()

Events

ItemCreating

Occurs when a HeatMapDataItem needs to be created.

Declaration
public event HeatMapItemCreatingEventHandler ItemCreating
Event Type
HeatMapItemCreatingEventHandler

ItemDataBound

Occurs when a data-bound item is being attached to a HeatMapDataItem.

Declaration
public event HeatMapItemEventHandler ItemDataBound
Event Type
HeatMapItemEventHandler

Explicit Interface Implementations

IDataItemSource.BindingComplete()

Declaration
void IDataItemSource.BindingComplete()
Implements
IDataItemSource.BindingComplete()

IDataItemSource.BindingContext

Declaration
BindingContext IDataItemSource.BindingContext { get; }
Returns
System.Windows.Forms.BindingContext

Implements
IDataItemSource.BindingContext

IDataItemSource.BindingContextChanged

Declaration
event EventHandler IDataItemSource.BindingContextChanged
Returns
System.EventHandler

Implements
IDataItemSource.BindingContextChanged

IDataItemSource.Initialize()

Initializes IDataItemSource.

Declaration
void IDataItemSource.Initialize()
Implements
IDataItemSource.Initialize()

IDataItemSource.MetadataChanged(PropertyDescriptor)

Declaration
void IDataItemSource.MetadataChanged(PropertyDescriptor pd)
Parameters
System.ComponentModel.PropertyDescriptor pd

Implements
IDataItemSource.MetadataChanged(PropertyDescriptor)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.