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 a new instance of the MicroHeatMapPresenter class.

public MicroHeatMapPresenter()

Properties

ColorMaximum

Gets or sets the maximum value of data represented by the color of the MicroHeatMapPresenter. This is a dependency property.

public double ColorMaximum { get; set; }

Property Value

double:

The maximum value of the data set represented by color. The default value is 1.0.

ColorMinimum

Gets or sets the minimum value of data represented by the color of the MicroHeatMapPresenter. This is a dependency property.

public double ColorMinimum { get; set; }

Property Value

double:

The minimum value of the data set represented by color. The default value is 0.0.

ColorValue

Gets or sets a value represented by the color of the MicroHeatMapPresenter. This is a dependency property.

public double ColorValue { get; set; }

Property Value

double:

This marker's value to be represented by color. The default value is 0.0.

GradientStops

Gets or sets a collection of GradientStops used to the color of the MicroHeatMapPresenter. This is a dependency property.

public GradientStopCollection GradientStops { get; set; }

Property Value

GradientStopCollection:

The collection of GradientStops to select the control's color from. The default value is null.

IsSizingEnabled

Gets or sets whether or not the control can change size MicroHeatMapPresenter. This is a dependency property.

public bool IsSizingEnabled { get; set; }

Property Value

bool:

A boolean determining if the control can change size. The default value is false.

LegendStringFormat

Gets or sets the format that the MicroHeatMapPresenter control will display in a ToolTip. This is a dependency property.

public string LegendStringFormat { get; set; }

Property Value

string:

The string format that determines how to display a ToolTip. The default value is null.

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

Gets or sets the style of the marker of the MicroHeatMapPresenter. This is a dependency property.

public Style MarkerStyle { get; set; }

Property Value

Style:

This marker's style. The default value is null.

SizeMaximum

Gets or sets the maximum value of data represented by the size of the MicroHeatMapPresenter. This is a dependency property.

public double SizeMaximum { get; set; }

Property Value

double:

The maximum value of the data set represented by size. The default value is 1.0.

SizeMinimum

Gets or sets the minimum value of data represented by the size of the MicroHeatMapPresenter. This is a dependency property.

public double SizeMinimum { get; set; }

Property Value

double:

The minimum value of the data set represented by size. The default value is 0.0.

SizeValue

Gets or sets a value represented by the size of the MicroHeatMapPresenter. This is a dependency property.

public double SizeValue { get; set; }

Property Value

double:

This marker's value to be represented by size. The default value is 1.0.

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

OnCreateAutomationPeer()

When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The class-specific AutomationPeer subclass to return.

Fields

ColorMaximumProperty

Identifies the ColorMaximumProperty dependency property. This field is read-only.

public static readonly DependencyProperty ColorMaximumProperty

ColorMinimumProperty

Identifies the ColorMinimumProperty dependency property. This field is read-only.

public static readonly DependencyProperty ColorMinimumProperty

ColorValueProperty

Identifies the ColorValue dependency property. This field is read-only.

public static readonly DependencyProperty ColorValueProperty

GradientStopsProperty

Identifies the GradientStops dependency property. This field is read-only.

public static readonly DependencyProperty GradientStopsProperty

IsSizingEnabledProperty

Identifies the IsSizingEnabled dependency property. This field is read-only.

public static readonly DependencyProperty IsSizingEnabledProperty

LegendStringFormatProperty

Identifies the LegendStringFormat dependency property. This field is read-only.

public static readonly DependencyProperty LegendStringFormatProperty

MarkerStyleProperty

Identifies the MarkerStyle dependency property. This field is read-only.

public static readonly DependencyProperty MarkerStyleProperty

SizeMaximumProperty

Identifies the SizeMaximum dependency property. This field is read-only.

public static readonly DependencyProperty SizeMaximumProperty

SizeMinimumProperty

Identifies the SizeMinimum dependency property. This field is read-only.

public static readonly DependencyProperty SizeMinimumProperty

SizeValueProperty

Identifies the SizeValue dependency property. This field is read-only.

public static readonly DependencyProperty SizeValueProperty