OrgChart for WPF and Silverlight
C1.Silverlight.OrgChart Namespace / C1OrgChart Class / ItemTemplateSelector Property

In This Topic
    ItemTemplateSelector Property
    In This Topic
    Gets or sets the DataTemplateSelector that determines the appearance of items in the control.
    Syntax
    'Declaration
     
    
    Public Property ItemTemplateSelector As DataTemplateSelector
    public DataTemplateSelector ItemTemplateSelector {get; set;}
    Remarks
    This property allows you to select different templates based on the items being displayed. The DataTemplateSelector class has a SelectTemplate method that takes an item and returns a System.Windows.DataTemplate to be used for creating that item's visual representation.
    See Also