Xceed Toolkit Plus for WPF v4.6 Documentation
OnItemTemplateSelectorChanged Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace > Legend Class : OnItemTemplateSelectorChanged Method
The old DataTemplateSelector.
The new DataTemplateSelector.
Called when the ItemTemplateSelector property changes to use ItemTemplateSelector or ItemTemplate.
Syntax
'Declaration
 
Protected Overrides Sub OnItemTemplateSelectorChanged( _

   ByVal oldItemTemplateSelector As DataTemplateSelector, _

   ByVal newItemTemplateSelector As DataTemplateSelector _

) 
'Usage
 
Dim instance As Legend

Dim oldItemTemplateSelector As DataTemplateSelector

Dim newItemTemplateSelector As DataTemplateSelector

 

instance.OnItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector)
protected override void OnItemTemplateSelectorChanged( 

   DataTemplateSelector oldItemTemplateSelector,

   DataTemplateSelector newItemTemplateSelector

)

Parameters

oldItemTemplateSelector
The old DataTemplateSelector.
newItemTemplateSelector
The new DataTemplateSelector.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Legend Class
Legend Members
Base Implementation in OnItemTemplateSelectorChanged