Token导航 LogoToken导航

Agent Skill · 运维和基础设施

syncfusion-wpf-treeview(同步融合 wpf 树视图)

syncfusion-wpf-treeview 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-wpf-treeview 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 942。

总安装 1,123周安装 45GitHub Stars 2下载 364核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-wpf-treeview(同步融合 wpf 树视图)
来源仓库:https://github.com/syncfusion/wpf-ui-components-skills
仓库路径:skills/syncfusion-wpf-treeview
安装命令:
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-treeview
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-treeview

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合围绕仓库状态、代码变更或协作事项进行信息整理。可结合来源仓库和 README 进一步核验具体用法。安装前建议确认权限范围、维护状态及是否触发联网或文件操作。注意避免在不具备相应权限时执行写回或批量操作。

syncfusion-wpf-treeview 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-wpf-treeview

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill sy…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-wpf-treeview 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-w…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-wpf-treeview 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-wpf-treeview 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-wpf-treeview 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-wpf-treeview 用的人多吗?

公开数据是累计安装 1,123 次,近一周安装 45 次,下载 364 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-wpf-treeview 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
syncfusion-wpf-treeview

同步融合 wpf 树视图 · 本页

1,1232需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing Syncfusion WPF TreeView (SfTreeView)

The Syncfusion WPF TreeView (SfTreeView) is a powerful data-oriented control for displaying hierarchical data in a tree structure with expanding and collapsing nodes. It's commonly used to display folder structures, organizational hierarchies, category trees, and nested relationships in WPF applications.

When to Use This Skill

Use this skill when you need to:

  • Display hierarchical data in a tree structure (folders, categories, org charts)
  • Implement expandable/collapsible nodes with parent-child relationships
  • Enable selection in tree structures (single or multiple items)
  • Add checkbox functionality to tree nodes with recursive state management
  • Support drag-and-drop for reordering or reorganizing tree items
  • Enable inline editing of tree node content
  • Load data on demand for large hierarchical datasets
  • Bind data to TreeView from collections (bound or unbound modes)
  • Customize appearance with templates, themes, and visual styles
  • Display tree lines to visualize hierarchical relationships
  • Perform CRUD operations on tree data dynamically

This skill provides comprehensive guidance for all TreeView features, from basic setup to advanced customization.

Component Overview

Key Capabilities:

  • Data Binding Modes: Bound (data source) and Unbound (manual nodes)
  • Selection: Single, Multiple, Extended with keyboard navigation
  • Checkboxes: Individual or recursive state management
  • Drag & Drop: Within TreeView or to other controls
  • Editing: Inline editing with templates and validation
  • Load on Demand: Lazy loading for performance with large datasets
  • Customization: Full template support for items, expanders, and editing
  • Tree Lines: Visual indicators for hierarchical structure
  • Performance: Optimized view reuse and flat rendering architecture

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly deployment
  • NuGet package setup (Syncfusion.SfTreeView.WPF)
  • Required assembly references
  • Namespace imports (XAML and C#)
  • Creating basic TreeView in XAML
  • Creating TreeView programmatically
  • License configuration

Data Population

📄 Read: references/data-population.md

  • Unbound mode (TreeViewNode objects)
  • Bound mode (hierarchical data source binding)
  • ChildPropertyName for nested collections
  • HierarchyPropertyDescriptors for complex hierarchies
  • ItemTemplate configuration
  • ItemsSource binding patterns
  • Data binding with MVVM

Selection

📄 Read: references/selection.md

  • Selection modes (None, Single, SingleDeselect, Multiple, Extended)
  • UI selection with mouse and keyboard
  • Programmatic selection (SelectedItem, SelectedItems)
  • Binding selection state to data model
  • Selection events (SelectionChanging, SelectionChanged)
  • CurrentItem property
  • Keyboard navigation

Checkboxes

📄 Read: references/checkboxes.md

  • Adding checkboxes to tree items
  • CheckBoxMode (None, Default, Recursive)
  • CheckedItems collection binding
  • Recursive checkbox state propagation
  • Programmatic check/uncheck
  • ItemTemplateDataContextType configuration
  • Checkbox in bound and unbound modes

Editing

📄 Read: references/editing.md

  • Enabling editing (AllowEditing property)
  • Edit triggers (F2 key, single click, double click)
  • EditTemplate and EditTemplateSelector
  • Programmatic editing (BeginEdit, EndEdit)
  • Editing events and validation
  • Committing and reverting changes
  • Edit mode in bound and unbound modes

Drag and Drop

📄 Read: references/drag-and-drop.md

  • Enabling drag and drop (AllowDragging)
  • Dragging multiple selected items
  • Drop position indicators
  • Drag and drop events (ItemDragStarting, ItemDragOver, ItemDropping, ItemDropped)
  • Dragging between TreeViews
  • Drag to other controls (ListView, DataGrid)
  • Customizing drag behavior

Tree Structure Features

📄 Read: references/tree-structure.md

  • Expanding and collapsing nodes
  • AutoExpandMode property
  • ExpandActionTrigger (Node, Expander)
  • Load on demand for lazy loading
  • Tree lines visualization (ShowLines property)
  • Expander template customization
  • Programmatic expand/collapse
  • ExpanderTemplate

Appearance and Customization

📄 Read: references/appearance.md

  • Item height customization
  • ItemTemplate and ItemTemplateSelector
  • Visual states and styling
  • Theming with SfSkinManager
  • Custom expander icons
  • Indentation and spacing control
  • Border and background customization
  • FullRowSelect property

CRUD Operations

📄 Read: references/crud-operations.md

  • Adding nodes programmatically
  • Removing nodes from TreeView
  • Updating node content
  • CRUD in bound vs unbound mode
  • Refreshing data and UI updates
  • Collection change handling

Quick Start Example

Basic Unbound TreeView

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
        xmlns:Engine="clr-namespace:Syncfusion.UI.Xaml.TreeView.Engine;assembly=Syncfusion.SfTreeView.WPF">
    <Grid>
        <syncfusion:SfTreeView x:Name="treeView" Width="300">
            <syncfusion:SfTreeView.Nodes>
                <Engine:TreeViewNode Content="Documents" IsExpanded="True">
                    <Engine:TreeViewNode.ChildNodes>
                        <Engine:TreeViewNode Content="Reports"/>
                        <Engine:TreeViewNode Content="Invoices"/>
                    </Engine:TreeViewNode.ChildNodes>
                </Engine:TreeViewNode>
                <Engine:TreeViewNode Content="Pictures" IsExpanded="True">
                    <Engine:TreeViewNode.ChildNodes>
                        <Engine:TreeViewNode Content="Vacation"/>
                        <Engine:TreeViewNode Content="Family"/>
                    </Engine:TreeViewNode.ChildNodes>
                </Engine:TreeViewNode>
            </syncfusion:SfTreeView.Nodes>
        </syncfusion:SfTreeView>
    </Grid>
</Window>

Basic Bound TreeView

<syncfusion:SfTreeView x:Name="treeView"
                       ItemsSource="{Binding Folders}"
                       ChildPropertyName="SubFolders"
                       AutoExpandMode="RootNodes">
    <syncfusion:SfTreeView.ItemTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding FolderName}"
                       VerticalAlignment="Center"/>
        </DataTemplate>
    </syncfusion:SfTreeView.ItemTemplate>
</syncfusion:SfTreeView>
// ViewModel
public class ViewModel : INotifyPropertyChanged
{
    public ObservableCollection<Folder> Folders { get; set; }

    public ViewModel()
    {
        Folders = new ObservableCollection<Folder>
        {
            new Folder
            {
                FolderName = "Documents",
                SubFolders = new ObservableCollection<Folder>
                {
                    new Folder { FolderName = "Reports" },
                    new Folder { FolderName = "Invoices" }
                }
            }
        };
    }
}

public class Folder : INotifyPropertyChanged
{
    public string FolderName { get; set; }
    public ObservableCollection<Folder> SubFolders { get; set; }
}

Common Patterns

TreeView with Selection and Checkboxes

<syncfusion:SfTreeView x:Name="treeView"
                       ItemsSource="{Binding Items}"
                       ChildPropertyName="Children"
                       SelectionMode="Multiple"
                       CheckBoxMode="Recursive"
                       CheckedItems="{Binding CheckedItems}"
                       ItemTemplateDataContextType="Node">
    <syncfusion:SfTreeView.ItemTemplate>
        <DataTemplate>
            <Grid>
                <CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}"
                          FocusVisualStyle="{x:Null}"/>
                <TextBlock Text="{Binding Content.Name}"
                           Margin="25,0,0,0"
                           VerticalAlignment="Center"/>
            </Grid>
        </DataTemplate>
    </syncfusion:SfTreeView.ItemTemplate>
</syncfusion:SfTreeView>

TreeView with Load on Demand

<syncfusion:SfTreeView x:Name="treeView"
                       ItemsSource="{Binding Items}"
                       ChildPropertyName="Children"
                       LoadOnDemand="TreeView_LoadOnDemand"/>
private void TreeView_LoadOnDemand(object sender, LoadOnDemandEventArgs e)
{
    var node = e.Node;
    var model = node.Content as MyModel;

    // Load child items asynchronously
    var childItems = LoadChildItemsFromDatabase(model.Id);
    node.PopulateChildNodes(childItems);

    e.HasChildNodes = childItems.Count > 0;
}

TreeView with Drag and Drop

<syncfusion:SfTreeView x:Name="treeView"
                       ItemsSource="{Binding Items}"
                       ChildPropertyName="Children"
                       AllowDragging="True"
                       SelectionMode="Multiple"
                       ItemDropping="TreeView_ItemDropping"/>
private void TreeView_ItemDropping(object sender, TreeViewItemDroppingEventArgs e)
{
    // Validate drop operation
    if (!IsValidDrop(e.TargetNode, e.DraggingNodes))
    {
        e.Handled = true; // Cancel drop
    }
}

Key Properties

PropertyTypeDescription
ItemsSourceIEnumerableData source for bound mode
ChildPropertyNamestringProperty name for child collection
SelectionModeSelectionModeSingle, Multiple, Extended, etc.
SelectedItemobjectCurrently selected item
SelectedItemsObservableCollectionMultiple selected items
CheckBoxModeCheckBoxModeNone, Default, Recursive
CheckedItemsObservableCollectionChecked items collection
AllowDraggingboolEnable drag and drop
AllowEditingboolEnable inline editing
AutoExpandModeAutoExpandModeAllNodes, RootNodes, None
ExpandActionTriggerExpandActionTriggerNode or Expander click
ShowLinesboolDisplay tree lines
ItemTemplateDataTemplateTemplate for item display
EditTemplateDataTemplateTemplate for editing mode
ExpanderTemplateDataTemplateTemplate for expander icon

Common Use Cases

File Explorer

Display folder and file hierarchies with icons, allowing users to navigate, select, and manage files with drag-and-drop.

Organizational Chart

Show company hierarchy with employee nodes, supporting selection and expansion to view team structures.

Category Management

Display product categories with checkboxes for multi-selection, enabling bulk operations on category trees.

Project Structure

Show project files and folders with load-on-demand for large projects, supporting inline editing of file names.

Settings/Preferences Tree

Display nested configuration options with checkboxes for enabling/disabling features hierarchically.

Menu/Navigation Tree

Create hierarchical navigation menus with expandable sections and visual tree lines.


Next Steps: Navigate to the specific reference documentation above based on the feature you need to implement. Start with getting-started.md for initial setup, then explore other features as needed.

平台分布

Codex

35.25%
按下载量换算128

Claude

30.52%
按下载量换算111

Cursor

19.44%
按下载量换算71

Gemini CLI

9.26%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills