SeriesInfoTemplateSelector

StockSharp.Xaml.Charting

Предоставляет класс для выбора правильного DataTemplate в соответствии с типом SeriesInfo.

Наследует: DataTemplateSelector

Конструкторы

SeriesInfoTemplateSelector
public SeriesInfoTemplateSelector()
seriesInfoTemplateSelector = SeriesInfoTemplateSelector()

Инициирует новый пример класса.

Свойства

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

Получает или устанавливает DataTemplate для первой серии BandSeriesInfo

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

Получает или устанавливает DataTemplate для второй серии BandSeriesInfo

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

Получает или устанавливает DataTemplate для OhlcSeriesInfo

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

Получает или устанавливает DataTemplate для HeatmapSeriesInfo

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

Получает или устанавливает DataTemplate для OhlcSeriesInfo

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

Получает или устанавливает DataTemplate для OhlcSeriesInfo

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

Получает или устанавливает DataTemplate для OneHundredPercentStackedSeriesInfo

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

Получает или устанавливает DataTemplate для TimeframeSegmentSeriesInfo

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

Получает или устанавливает DataTemplate для TransactionSeriesInfo

Методы

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

При переопределении в производных классах содержит логику для выбора правильного DataTemplate.

item
container

Поля

BandSeries1TemplateProperty
public static readonly DependencyProperty BandSeries1TemplateProperty
value = SeriesInfoTemplateSelector.BandSeries1TemplateProperty

Определяет BandSeries1Template DependencyProperty

BandSeries2TemplateProperty
public static readonly DependencyProperty BandSeries2TemplateProperty
value = SeriesInfoTemplateSelector.BandSeries2TemplateProperty

Определяет BandSeries2Template DependencyProperty

BoxPlotSeriesTemplateProperty
public static readonly DependencyProperty BoxPlotSeriesTemplateProperty
value = SeriesInfoTemplateSelector.BoxPlotSeriesTemplateProperty

Определяет BoxPlotSeriesTemplate DependencyProperty

HeatmapSeriesTemplateProperty
public static readonly DependencyProperty HeatmapSeriesTemplateProperty
value = SeriesInfoTemplateSelector.HeatmapSeriesTemplateProperty

Определяет HeatmapSeriesTemplate DependencyProperty

HlcSeriesTemplateProperty
public static readonly DependencyProperty HlcSeriesTemplateProperty
value = SeriesInfoTemplateSelector.HlcSeriesTemplateProperty

Определяет HlcSeriesTemplate DependencyProperty

OhlcSeriesTemplateProperty
public static readonly DependencyProperty OhlcSeriesTemplateProperty
value = SeriesInfoTemplateSelector.OhlcSeriesTemplateProperty

Определяет OhlcSeriesTemplate DependencyProperty

OneHundredPercentStackedSeriesTemplateProperty
public static readonly DependencyProperty OneHundredPercentStackedSeriesTemplateProperty
value = SeriesInfoTemplateSelector.OneHundredPercentStackedSeriesTemplateProperty

Определяет OneHundredPercentStackedSeriesTemplate DependencyProperty

TimeframeSegmentSeriesTemplateProperty
public static readonly DependencyProperty TimeframeSegmentSeriesTemplateProperty
value = SeriesInfoTemplateSelector.TimeframeSegmentSeriesTemplateProperty

Определяет TimeframeSegmentSeriesTemplate DependencyProperty

TransactionSeriesTemplateProperty
public static readonly DependencyProperty TransactionSeriesTemplateProperty
value = SeriesInfoTemplateSelector.TransactionSeriesTemplateProperty

Определяет TransactionSeriesTemplate DependencyProperty