DataTemplateSelector
StockSharp.Xaml.Charting
Provides the base functionality for template selectors, used by the RolloverModifier and CursorModifier to select an appropriate DataTemplate for the HitTestInfo type outputted by the modifiers (which is dependent on RenderableSeries type)
Наследует: ContentControl
Реализует: IDataTemplateSelector
Свойства
DefaultTemplate : DataTemplate
Gets or sets the template which is used as default
Методы
OnContentChanged(object, object)
Called when the Content property changes.
- oldContent
- The old value of the Content property.
- newContent
- The new value of the Content property.
OnDataTemplateChanged()
Raises the DataTemplateChanged event
SelectTemplate(object, DependencyObject) : DataTemplate
When overidden in derived classes, contains the logic for choosing a proper DataTemplate
- item
- container
UpdateControlTemplate()
Forces an update of ControlTemplate due to known bug in Wpf 4
События
DataTemplateChanged : EventHandler
Raised when one of DataTemplate properties changed
Поля
DefaultTemplateProperty : DependencyProperty
Defines the DefaultTemplate DependencyProperty