menu

Class ItemTemplateDataContextType - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ItemTemplateDataContextType

    Describes the binding context type for SfTreeView items. Note: It will be applicable for bound mode only. For Unbound mode, TreeViewNode will be the binding context for each SfTreeView item.

    Inheritance
    System.Object
    ItemTemplateDataContextType
    Namespace: Syncfusion.UI.Xaml.TreeView
    Assembly: Syncfusion.TreeView.WinUI.dll
    Syntax
    public sealed class ItemTemplateDataContextType : Enum

    Fields

    Item

    Specifies that the data model object will be the binding context for treeview item.

    Declaration
    public const ItemTemplateDataContextType Item
    Field Value
    Type
    ItemTemplateDataContextType

    Node

    Specifies that the TreeViewNode will be the binding context for treeview item.

    Declaration
    public const ItemTemplateDataContextType Node
    Field Value
    Type
    ItemTemplateDataContextType
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved