Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / Legend Class / OnItemTemplateChanged Method
The old DataTemplate.
The new DataTemplate.


    OnItemTemplateChanged Method
    Called when ItemTemplate property changes to use ItemTemplateSelector or ItemTemplate
    Syntax
    'Declaration
     
    Protected Overrides Sub OnItemTemplateChanged( _
       ByVal oldItemTemplate As DataTemplate, _
       ByVal newItemTemplate As DataTemplate _
    ) 
     
    'Usage
     
    Dim instance As Legend
    Dim oldItemTemplate As DataTemplate
    Dim newItemTemplate As DataTemplate
     
    instance.OnItemTemplateChanged(oldItemTemplate, newItemTemplate)

    Parameters

    oldItemTemplate
    The old DataTemplate.
    newItemTemplate
    The new DataTemplate.
    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