Class RadHeatMapElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadHeatMapElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadHeatMapElement()
Declaration
public RadHeatMapElement()
Fields
cellIndicesToRects
Declaration
public IDictionary<CellIndex, RectangleF> cellIndicesToRects
Field Value
System.
|
ColumnHeaderHeightProperty
HeaderCellBackColorProperty
HeaderCellBorderColorProperty
HeaderCellBorderWidthProperty
HeaderCellFontProperty
HeaderCellForeColorProperty
HeaderCellHoverBackColorProperty
HeaderCellHoverForeColorProperty
HoveredCellBorderColorProperty
HoveredCellBorderWidthProperty
RowHeaderWidthProperty
SelectedCellBorderColorProperty
SelectedCellBorderWidthProperty
Properties
AllowHotTracking
Gets or sets a value indicating whether the hot tracking behavior is enabled.
Declaration
public bool AllowHotTracking { get; set; }
Property Value
System.
|
AllowSelection
Gets or sets a value indicating whether the selection is enabled.
Declaration
public bool AllowSelection { get; set; }
Property Value
System.
|
AutoGenerateLegendItems
Gets or sets a value indicating whether to generate legend items automatically.
If true the legend items are automatically created when Show
Declaration
public bool AutoGenerateLegendItems { get; set; }
Property Value
System.
|
CellTextAlignment
Gets or sets the text alignment of the cells.
Declaration
public ContentAlignment CellTextAlignment { get; set; }
Property Value
System.
|
CellTextFormat
Gets or sets the cell text format string.
Declaration
public string CellTextFormat { get; set; }
Property Value
System.
|
ColumnHeaderHeight
Gets or sets the height of column headers.
Declaration
public int ColumnHeaderHeight { get; set; }
Property Value
System.
|
ColumnHeadersPosition
Gets or sets the position of the column headers.
Declaration
public ColumnHeadersPosition ColumnHeadersPosition { get; set; }
Property Value
ColumnHeaderTextFormat
Gets or sets the column header cell text format string.
Declaration
public string ColumnHeaderTextFormat { get; set; }
Property Value
System.
|
Definition
Gets or sets the heat map definition. The definition is responsible for managing the data and displaying the data in rows and columns.
Declaration
public HeatMapDefinition Definition { get; set; }
Property Value
DescriptionContent
Gets or sets the content of the description cell located in the corner between row and column header cells. Note that the description is not shown if row or column headers are hidden.
Declaration
public string DescriptionContent { get; set; }
Property Value
System.
|
DisplayCellText
Gets or sets a value indicating whether to paint the cell values.
Declaration
public bool DisplayCellText { get; set; }
Property Value
System.
|
EmptyCellText
Gets or sets the text and tool tip text shown in empty cells(with no data or null values).
Declaration
public string EmptyCellText { get; set; }
Property Value
System.
|
Font
Gets or sets the font. Font type defines a particular format for text, including font face, size, and style attributes.
Declaration
[RadPropertyDefaultValue("Font", typeof(VisualElement))]
public override Font Font { get; set; }
Property Value
System.
|
Overrides
HeaderCellBackColor
Gets or sets the header cell background color.
Declaration
public Color HeaderCellBackColor { get; set; }
Property Value
System.
|
HeaderCellBorderColor
Gets or sets the header border color.
Declaration
public Color HeaderCellBorderColor { get; set; }
Property Value
System.
|
HeaderCellBorderWidth
Gets or sets the header border width.
Declaration
public int HeaderCellBorderWidth { get; set; }
Property Value
System.
|
HeaderCellFont
The font used for header cells.
Declaration
public Font HeaderCellFont { get; set; }
Property Value
System.
|
HeaderCellForeColor
Gets or sets the header cell foreground color.
Declaration
public Color HeaderCellForeColor { get; set; }
Property Value
System.
|
HeaderCellHoverBackColor
Gets or sets the header cell mouse over background color.
Declaration
public Color HeaderCellHoverBackColor { get; set; }
Property Value
System.
|
HeaderCellHoverForeColor
Gets or sets the header cell mouse over foreground color.
Declaration
public Color HeaderCellHoverForeColor { get; set; }
Property Value
System.
|
HeaderCellTextAlignment
Gets or sets the text alignment of the header cells.
Declaration
public ContentAlignment HeaderCellTextAlignment { get; set; }
Property Value
System.
|
HoveredCellBorderColor
Gets or sets the hovered cell border color.
Declaration
public Color HoveredCellBorderColor { get; set; }
Property Value
System.
|
HoveredCellBorderWidth
Gets or sets the hovered cell border width.
Declaration
public int HoveredCellBorderWidth { get; set; }
Property Value
System.
|
HoveredCellIndex
Gets the hovered cell index.
Declaration
public CellIndex HoveredCellIndex { get; protected set; }
Property Value
Items
Gets a collection of Heat
Declaration
public HeatMapDataItemCollection Items { get; }
Property Value
LegendAlignment
Gets or sets the alignment of the legend element relative to the control layout rectangle.
Declaration
public LegendAlignment LegendAlignment { get; set; }
Property Value
LegendElement
Gets the legend element.
Declaration
public HeatMapLegendElement LegendElement { get; }
Property Value
LegendOrientation
Gets or sets the orientation of the legend items.
Declaration
public Orientation LegendOrientation { get; set; }
Property Value
System.
|
LegendPosition
Gets or sets the position of the legend element in the control layout rectangle.
Declaration
public RadPosition LegendPosition { get; set; }
Property Value
LegendStack
Gets the legend stack.
Declaration
public StackLayoutElement LegendStack { get; }
Property Value
LegendTitle
Gets or sets the legend title.
Declaration
public string LegendTitle { get; set; }
Property Value
System.
|
LegendValueFormat
Gets or sets the number format of legend items values.
Declaration
public string LegendValueFormat { get; set; }
Property Value
System.
|
RowHeadersPosition
Gets or sets the position of the row headers.
Declaration
public RowHeadersPosition RowHeadersPosition { get; set; }
Property Value
RowHeaderTextFormat
Gets or sets the row header cell text format string.
Declaration
public string RowHeaderTextFormat { get; set; }
Property Value
System.
|
RowHeaderWidth
Gets or sets the width of row headers.
Declaration
public int RowHeaderWidth { get; set; }
Property Value
System.
|
ScreenTip
Use the Screen
Declaration
public override RadScreenTipElement ScreenTip { get; set; }
Property Value
Overrides
ScreenTipElement
Gets or sets the screen tip element. It is displayed when the Tool
Declaration
public virtual RadOffice2007ScreenTipElement ScreenTipElement { get; set; }
Property Value
SelectedCellBorderColor
Gets or sets the selected cell border color.
Declaration
public Color SelectedCellBorderColor { get; set; }
Property Value
System.
|
SelectedCellBorderWidth
Gets or sets the border width of selected cell.
Declaration
public int SelectedCellBorderWidth { get; set; }
Property Value
System.
|
SelectedCellIndex
Gets or sets the selected cell index.
Declaration
public CellIndex SelectedCellIndex { get; set; }
Property Value
SelectedDataItem
Gets the selected data item based on the selected cell index.
Declaration
public HeatMapDataItem SelectedDataItem { get; }
Property Value
ShowLegend
Gets or sets a value indicating whether legend is displayed.
Declaration
public bool ShowLegend { get; set; }
Property Value
System.
|
Title
Gets or sets the heat map title.
Declaration
public string Title { get; set; }
Property Value
System.
|
TitleElement
Gets the title element.
Declaration
public HeatMapTitleElement TitleElement { get; }
Property Value
TitleStack
Gets the title stack.
Declaration
public StackLayoutElement TitleStack { get; }
Property Value
ToolTip
Gets or sets the tool tip. It is displayed when the Tool
Declaration
public RadToolTip ToolTip { get; set; }
Property Value
ToolTipDisplayMode
Gets or sets a value indicating how to display tool tips.
Declaration
public ToolTipDisplayMode ToolTipDisplayMode { get; set; }
Property Value
WrapCellText
Gets or sets a value indicating whether to wrap the text of the cells.
Declaration
public bool WrapCellText { get; set; }
Property Value
System.
|
WrapHeaderCellText
Gets or sets a value indicating whether to wrap the text of row and column header cells.
Declaration
public bool WrapHeaderCellText { get; set; }
Property Value
System.
|
Methods
AddStylePropertySetting(IPropertySetting)
Declaration
protected override ValueUpdateResult AddStylePropertySetting(IPropertySetting setting)
Parameters
IProperty
|
Returns
Overrides
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateLegendElement()
Declaration
protected virtual HeatMapLegendElement CreateLegendElement()
Returns
CreateLegendStack()
CreateScreenTipElement()
Declaration
protected virtual RadOffice2007ScreenTipElement CreateScreenTipElement()
Returns
CreateTitleElement()
CreateTitleStack()
CreateToolTip()
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetCellIndex(Point, out Int32, out Int32)
Declaration
protected virtual void GetCellIndex(Point location, out int rowIndex, out int columnIndex)
Parameters
System.
|
System.
|
System.
|
GetContentPaintRectangle()
Declaration
protected virtual Rectangle GetContentPaintRectangle()
Returns
System.
|
GetFormattedString(Object, String)
Declaration
public virtual string GetFormattedString(object header, string format)
Parameters
System.
|
System.
|
Returns
System.
|
GetFormattedText(Double)
Declaration
protected virtual string GetFormattedText(double value)
Parameters
System.
|
Returns
System.
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
ManageToolTip(Point, Int32, Int32)
Declaration
protected virtual void ManageToolTip(Point location, int rowIndex, int columnIndex)
Parameters
System.
|
System.
|
System.
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnBoundsChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnCellPainted(HeatMapCellPaintedEventArgs)
Fires the Cell
Declaration
protected virtual void OnCellPainted(HeatMapCellPaintedEventArgs args)
Parameters
Heat The event arguments. |
OnHeaderPainted(HeatMapHeaderCellPaintedEventArgs)
Fires the Header
Declaration
protected virtual void OnHeaderPainted(HeatMapHeaderCellPaintedEventArgs args)
Parameters
Heat The event arguments. |
OnHeaderPainting(HeatMapHeaderCellPaintingEventArgs)
Fires the Header
Declaration
protected virtual void OnHeaderPainting(HeatMapHeaderCellPaintingEventArgs args)
Parameters
Heat The event arguments. |
OnHoveredCellIndexChanged(HeatMapIndexChangedEventArgs)
Declaration
protected virtual void OnHoveredCellIndexChanged(HeatMapIndexChangedEventArgs args)
Parameters
OnItemPainting(HeatMapCellPaintingEventArgs)
Fires the Cell
Declaration
protected virtual void OnItemPainting(HeatMapCellPaintingEventArgs args)
Parameters
Heat The event arguments. |
OnLoaded()
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnScreenTipShowing(HeatMapScreenTipEventArgs)
Fires the Screen
Declaration
protected virtual void OnScreenTipShowing(HeatMapScreenTipEventArgs args)
Parameters
Heat The event arguments. |
OnSelectedCellIndexChanged(HeatMapIndexChangedEventArgs)
Fires the Selected
Declaration
protected virtual void OnSelectedCellIndexChanged(HeatMapIndexChangedEventArgs args)
Parameters
Heat The event arguments. |
OnSelectedCellIndexChanging(HeatMapIndexChangingEventArgs)
Fires the Selected
Declaration
protected virtual void OnSelectedCellIndexChanging(HeatMapIndexChangingEventArgs args)
Parameters
Heat The event arguments. |
OnShowScreenTip(ComponentInputBehavior)
Declaration
protected override bool OnShowScreenTip(ComponentInputBehavior inputBehavior)
Parameters
Component
|
Returns
System.
|
Overrides
OnToolTipShowing(HeatMapToolTipEventArgs)
Fires the Tool
Declaration
protected virtual void OnToolTipShowing(HeatMapToolTipEventArgs args)
Parameters
Heat The event arguments. |
PaintCell(IGraphics, RectangleF, CellIndex, HeatMapDataItem)
Declaration
public virtual void PaintCell(IGraphics graphics, RectangleF rect, CellIndex cellIndex, HeatMapDataItem dataItem)
Parameters
IGraphics
graphics
|
System.
|
Cell
|
Heat
|
PaintCellBackground(CellIndex, IGraphics, RectangleF, Color)
Declaration
protected virtual void PaintCellBackground(CellIndex cellIndex, IGraphics graphics, RectangleF rectangle, Color backColor)
Parameters
PaintCellBorder(CellIndex, IGraphics, RectangleF, Color, Int32)
Declaration
protected virtual void PaintCellBorder(CellIndex cellIndex, IGraphics graphics, RectangleF rectangle, Color borderColor, int borderWidth)
Parameters
PaintCells(IGraphics)
PaintCellText(CellIndex, IGraphics, RectangleF, String, Color, Font, ContentAlignment)
Declaration
protected virtual void PaintCellText(CellIndex cellIndex, IGraphics graphics, RectangleF rectangle, string text, Color foreColor, Font font, ContentAlignment textAlignment)
Parameters
PaintContent(IGraphics)
Declaration
protected override void PaintContent(IGraphics graphics)
Parameters
IGraphics
graphics
|
Overrides
PaintHeaderCell(IGraphics, CellIndex)
Declaration
public virtual void PaintHeaderCell(IGraphics graphics, CellIndex cellIndex)
Parameters
PaintHeaderCellBackground(CellIndex, IGraphics, RectangleF, Color)
Declaration
protected virtual void PaintHeaderCellBackground(CellIndex cellIndex, IGraphics graphics, RectangleF headerRect, Color backColor)
Parameters
PaintHeaderCellBorder(CellIndex, IGraphics, RectangleF, Color, Int32)
Declaration
protected virtual void PaintHeaderCellBorder(CellIndex cellIndex, IGraphics graphics, RectangleF rectangle, Color borderColor, int borderWidth)
Parameters
PaintHeaderCellText(CellIndex, IGraphics, RectangleF, String, Color, Font, ContentAlignment, StringTrimming, StringFormatFlags)
Declaration
protected virtual void PaintHeaderCellText(CellIndex cellIndex, IGraphics graphics, RectangleF headerRect, string headerText, Color foreColor, Font font, ContentAlignment textAlignment, StringTrimming trimming, StringFormatFlags formatFlags)
Parameters
PaintHeaders(IGraphics)
ResetLegendItems()
Declaration
public virtual void ResetLegendItems()
ShouldArrangeChild(RadElement)
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
Rad
|
Returns
System.
|
Overrides
ShouldMeasureChild(RadElement)
Declaration
protected override bool ShouldMeasureChild(RadElement child)
Parameters
Rad
|
Returns
System.
|
Overrides
UpdateCachedBounds()
Updates the bounds of the row, column header cells and data cells.
Declaration
public virtual void UpdateCachedBounds()
UpdateLegend()
Declaration
protected virtual void UpdateLegend()
UpdateLegendVisibility()
Declaration
protected virtual void UpdateLegendVisibility()
Events
CellPainted
Occurs when a cell has been painted.
Declaration
public event HeatMapCellPaintedEventHandler CellPainted
Event Type
CellPainting
Occurs when an cell is about to be painted.
Declaration
public event HeatMapCellPaitingEventHandler CellPainting
Event Type
HeaderCellPainted
Occurs when a row/column header cell has been painted.
Declaration
public event HeatMapHeaderPaintedEventHandler HeaderCellPainted
Event Type
HeaderCellPainting
Occurs when a row/column header cell is about to be painted.
Declaration
public event HeatMapHeaderPaintingEventHandler HeaderCellPainting
Event Type
HoveredCellIndexChanged
Occurs when the hovered cell index has changed.
Declaration
public event HeatMapIndexChangedEventHandler HoveredCellIndexChanged
Event Type
ScreenTipShowing
Occurs when the screen tip is about to be shown. Cancellable.
Declaration
public event HeatMapScreenTipEventHandler ScreenTipShowing
Event Type
SelectedCellIndexChanged
Occurs when the selected cell index has changed.
Declaration
public event HeatMapIndexChangedEventHandler SelectedCellIndexChanged
Event Type
SelectedCellIndexChanging
Occurs when the selected cell index is about to be changed. Cancellable.
Declaration
public event HeatMapIndexChangingEventHandler SelectedCellIndexChanging
Event Type
ToolTipShowing
Occurs when the tool tip is about to be shown. Cancellable.
Declaration
public event HeatMapToolTipEventHandler ToolTipShowing