In This Article

MicroHeatMapPresenter Class

Represents a HeatMap element.

[TemplatePart(Name = "PART_Marker", Type = typeof(MicroChartMarker))]
public class MicroHeatMapPresenter : ContentControl
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl object

Constructors

MicroHeatMapPresenter()

Initializes an instance of the class.

public MicroHeatMapPresenter()

Properties

ColorMaximum

The maximum value of data represented by the color of the MicroHeatMapPresenter.

public double ColorMaximum { get; set; }

Property Value

double:

The default value is 1.0.

ColorMinimum

The minimum value of data represented by the color of the MicroHeatMapPresenter.

public double ColorMinimum { get; set; }

Property Value

double:

The default value is 0.0.

ColorValue

A value represented by the color of the MicroHeatMapPresenter.

public double ColorValue { get; set; }

Property Value

double:

The default value is 0.0.

GradientStops

A collection of GradientStop instances used for the color of the MicroHeatMapPresenter.

public GradientStopCollection? GradientStops { get; set; }

Property Value

GradientStopCollection

IsSizingEnabled

Indicates whether or not the control can change size MicroHeatMapPresenter.

public bool IsSizingEnabled { get; set; }

Property Value

bool:

The default value is false.

LegendStringFormat

The format that the MicroHeatMapPresenter control will display in a ToolTip.

public string? LegendStringFormat { get; set; }

Property Value

string

Remarks

The format string will be passed the following parameters:

  • {0} - The value represented by color.
  • {1} - The minimum color value.
  • {2} - The maximum color value.
  • {3} - The value represented by size.
  • {4} - The minimum size value.
  • {5} - The maximum size value.

MarkerStyle

The style of the marker of the MicroHeatMapPresenter.

public Style? MarkerStyle { get; set; }

Property Value

Style

SizeMaximum

The maximum value of data represented by the size of the MicroHeatMapPresenter.

public double SizeMaximum { get; set; }

Property Value

double:

The default value is 1.0.

SizeMinimum

The minimum value of data represented by the size of the MicroHeatMapPresenter.

public double SizeMinimum { get; set; }

Property Value

double:

The default value is 0.0.

SizeValue

A value represented by the size of the MicroHeatMapPresenter.

public double SizeValue { get; set; }

Property Value

double:

The default value is 1.0.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific AutomationPeer implementation.

Fields

ColorMaximumProperty

Defines the ColorMaximumProperty property.

public static readonly DependencyProperty ColorMaximumProperty

ColorMinimumProperty

Defines the ColorMinimumProperty property.

public static readonly DependencyProperty ColorMinimumProperty

ColorValueProperty

Defines the ColorValue property.

public static readonly DependencyProperty ColorValueProperty

GradientStopsProperty

Defines the GradientStops property.

public static readonly DependencyProperty GradientStopsProperty

IsSizingEnabledProperty

Defines the IsSizingEnabled property.

public static readonly DependencyProperty IsSizingEnabledProperty

LegendStringFormatProperty

Defines the LegendStringFormat property.

public static readonly DependencyProperty LegendStringFormatProperty

MarkerStyleProperty

Defines the MarkerStyle property.

public static readonly DependencyProperty MarkerStyleProperty

SizeMaximumProperty

Defines the SizeMaximum property.

public static readonly DependencyProperty SizeMaximumProperty

SizeMinimumProperty

Defines the SizeMinimum property.

public static readonly DependencyProperty SizeMinimumProperty

SizeValueProperty

Defines the SizeValue property.

public static readonly DependencyProperty SizeValueProperty

Extension Methods