SeriesInfoTemplateSelector

StockSharp.Xaml.Charting

Provides class for choosing proper DataTemplate according to a Type of SeriesInfo

Inherits: DataTemplateSelector

Constructors

SeriesInfoTemplateSelector
public SeriesInfoTemplateSelector()
seriesInfoTemplateSelector = SeriesInfoTemplateSelector()

Initializes a new instance of the class.

Properties

BandSeries1Template
public DataTemplate BandSeries1Template { get; set; }
value = seriesInfoTemplateSelector.BandSeries1Template
seriesInfoTemplateSelector.BandSeries1Template = value

Gets or sets the DataTemplate for the first series of the BandSeriesInfo

BandSeries2Template
public DataTemplate BandSeries2Template { get; set; }
value = seriesInfoTemplateSelector.BandSeries2Template
seriesInfoTemplateSelector.BandSeries2Template = value

Gets or sets the DataTemplate for the second series of the BandSeriesInfo

BoxPlotSeriesTemplate
public DataTemplate BoxPlotSeriesTemplate { get; set; }
value = seriesInfoTemplateSelector.BoxPlotSeriesTemplate
seriesInfoTemplateSelector.BoxPlotSeriesTemplate = value

Gets or sets the DataTemplate for OhlcSeriesInfo

HeatmapSeriesTemplate
public DataTemplate HeatmapSeriesTemplate { get; set; }
value = seriesInfoTemplateSelector.HeatmapSeriesTemplate
seriesInfoTemplateSelector.HeatmapSeriesTemplate = value

Gets or sets the DataTemplate for HeatmapSeriesInfo

HlcSeriesTemplate
public DataTemplate HlcSeriesTemplate { get; set; }
value = seriesInfoTemplateSelector.HlcSeriesTemplate
seriesInfoTemplateSelector.HlcSeriesTemplate = value

Gets or sets the DataTemplate for OhlcSeriesInfo

OhlcSeriesTemplate
public DataTemplate OhlcSeriesTemplate { get; set; }
value = seriesInfoTemplateSelector.OhlcSeriesTemplate
seriesInfoTemplateSelector.OhlcSeriesTemplate = value

Gets or sets the DataTemplate for OhlcSeriesInfo

OneHundredPercentStackedSeriesTemplate
public DataTemplate OneHundredPercentStackedSeriesTemplate { get; set; }
value = seriesInfoTemplateSelector.OneHundredPercentStackedSeriesTemplate
seriesInfoTemplateSelector.OneHundredPercentStackedSeriesTemplate = value

Gets or sets the DataTemplate for OneHundredPercentStackedSeriesInfo

TimeframeSegmentSeriesTemplate
public DataTemplate TimeframeSegmentSeriesTemplate { get; set; }
value = seriesInfoTemplateSelector.TimeframeSegmentSeriesTemplate
seriesInfoTemplateSelector.TimeframeSegmentSeriesTemplate = value

Gets or sets the DataTemplate for TimeframeSegmentSeriesInfo

TransactionSeriesTemplate
public DataTemplate TransactionSeriesTemplate { get; set; }
value = seriesInfoTemplateSelector.TransactionSeriesTemplate
seriesInfoTemplateSelector.TransactionSeriesTemplate = value

Gets or sets the DataTemplate for TransactionSeriesInfo

Methods

SelectTemplate
public override DataTemplate SelectTemplate(object item, DependencyObject container)
result = seriesInfoTemplateSelector.SelectTemplate(item, container)

When overidden in derived classes, contains the logic for choosing a proper DataTemplate

item
container

Fields

BandSeries1TemplateProperty
public static readonly DependencyProperty BandSeries1TemplateProperty
value = SeriesInfoTemplateSelector.BandSeries1TemplateProperty

Defines the BandSeries1Template DependencyProperty

BandSeries2TemplateProperty
public static readonly DependencyProperty BandSeries2TemplateProperty
value = SeriesInfoTemplateSelector.BandSeries2TemplateProperty

Defines the BandSeries2Template DependencyProperty

BoxPlotSeriesTemplateProperty
public static readonly DependencyProperty BoxPlotSeriesTemplateProperty
value = SeriesInfoTemplateSelector.BoxPlotSeriesTemplateProperty

Defines the BoxPlotSeriesTemplate DependencyProperty

HeatmapSeriesTemplateProperty
public static readonly DependencyProperty HeatmapSeriesTemplateProperty
value = SeriesInfoTemplateSelector.HeatmapSeriesTemplateProperty

Defines the HeatmapSeriesTemplate DependencyProperty

HlcSeriesTemplateProperty
public static readonly DependencyProperty HlcSeriesTemplateProperty
value = SeriesInfoTemplateSelector.HlcSeriesTemplateProperty

Defines the HlcSeriesTemplate DependencyProperty

OhlcSeriesTemplateProperty
public static readonly DependencyProperty OhlcSeriesTemplateProperty
value = SeriesInfoTemplateSelector.OhlcSeriesTemplateProperty

Defines the OhlcSeriesTemplate DependencyProperty

OneHundredPercentStackedSeriesTemplateProperty
public static readonly DependencyProperty OneHundredPercentStackedSeriesTemplateProperty
value = SeriesInfoTemplateSelector.OneHundredPercentStackedSeriesTemplateProperty

Defines the OneHundredPercentStackedSeriesTemplate DependencyProperty

TimeframeSegmentSeriesTemplateProperty
public static readonly DependencyProperty TimeframeSegmentSeriesTemplateProperty
value = SeriesInfoTemplateSelector.TimeframeSegmentSeriesTemplateProperty

Defines the TimeframeSegmentSeriesTemplate DependencyProperty

TransactionSeriesTemplateProperty
public static readonly DependencyProperty TransactionSeriesTemplateProperty
value = SeriesInfoTemplateSelector.TransactionSeriesTemplateProperty

Defines the TransactionSeriesTemplate DependencyProperty