Syncfusion Maui Treegridのロゴ

Syncfusion Maui Treegrid

組織
syncfusion
syncfusion-maui-treegrid

Implement and customize Syncfusion .NET MAUI Tree Grid (SfTreeGrid) for displaying and manipulating hierarchical data in a tabular view. Use when working with MAUI tree grids, SfTreeGrid, hierarchical data binding, tree grid columns, sorting, filtering, selection, freeze panes, or expander customization.

概要

公開者syncfusion
リポジトリmaui-ui-components-skills
スキル名syncfusion-maui-treegrid
スター
61
フォーク
1
同梱ファイル
10
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 10個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    syncfusionがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSyncfusion Maui TreegridをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-treegrid
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syncfusion/maui-ui-components-skills.git /tmp/maui-ui-components-skills
mkdir -p .claude/skills
cp -r /tmp/maui-ui-components-skills/skills/syncfusion-maui-treegrid .claude/skills/syncfusion-maui-treegrid
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSyncfusion Maui Treegridを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSyncfusion Maui Treegridを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Syncfusion Maui Treegridは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Implementing .NET MAUI Tree Grid

A skill for implementing and customizing the Syncfusion .NET MAUI Tree Grid (SfTreeGrid) control. The Tree Grid displays and manipulates hierarchical data in a tabular view, combining the clarity of a grid with the ability to present parent-child relationships in an organized structure. Built for excellent performance, it handles large datasets efficiently while maintaining smooth interaction.

When to Use This Skill

Use this skill when you need to:

  • Display hierarchical or self-relational data in a .NET MAUI app
  • Bind nested collections or self-referencing data sources to a tree grid
  • Configure tree grid columns (auto-generated or manually defined)
  • Choose and configure column types (Text, Numeric, Date, CheckBox, Template)
  • Apply column sizing modes (Fill, Auto, LastColumnFill, FitByCell, FitByHeader)
  • Sort or filter hierarchical data
  • Freeze columns for navigation across wide datasets
  • Implement row selection (Single, Multiple, SingleDeselect, None)
  • Customize the expander column (icon, width, placement, initial expansion state)
  • Style cells, headers, and rows (DefaultStyle, implicit styling, grid lines)
  • Expand/collapse nodes programmatically

Component Overview

SfTreeGrid is a high-performance hierarchical data grid for .NET MAUI that provides:

Core Features:

  • Two data binding modes — self-relational (ParentPropertyName/ChildPropertyName) and nested collection (ChildPropertyName)
  • Rich column types — Text, Numeric, Date, CheckBox, Template
  • Auto-generated or manually defined columns
  • Data operations — sorting (single/multi-column, tri-state, custom) and filtering (programmatic, condition-based)
  • Freeze panes — left and right column freezing
  • Selection — Single, Multiple, SingleDeselect, None
  • Expander customization — icon templates, column placement, width, model-driven expansion state
  • Styling — column-level, implicit (TargetType), DefaultStyle, grid line control

NuGet Package: Syncfusion.Maui.TreeGrid

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Prerequisites and project setup (.NET 9 SDK, Visual Studio 2022 v17.12+)
  • Installing the Syncfusion.Maui.TreeGrid NuGet package
  • Registering the Syncfusion core handler in MauiProgram.cs
  • Defining data models and ViewModels
  • Basic TreeGrid implementation (XAML and C#)
  • Importing the TreeGrid namespace

Data Binding

📄 Read: references/data-binding.md

  • Binding self-relational data (ParentPropertyName, ChildPropertyName, SelfRelationRootValue)
  • Binding nested collections (ChildPropertyName)
  • Binding IEnumerable sources
  • AutoExpandMode (None, RootNodesExpanded, AllNodesExpanded)
  • Programmatic node expansion (ExpandAllNodes, ExpandNode, by level/index/business object)
  • Programmatic node collapse (CollapseAllNodes, CollapseNode)
  • NodeExpanding and NodeCollapsing events
  • IsExpanded property on TreeNode

Columns

📄 Read: references/columns.md

  • Automatic column generation (AutoGenerateColumnsMode)
  • Auto-generation modes (None, Reset, ResetAll, RetainOld, SmartReset)
  • Customizing auto-generated columns (AutoGeneratingColumn event)
  • Manually generating columns
  • Column manipulation (add, access, clear, remove)
  • Column-to-data-type mapping

Column Types

📄 Read: references/column-types.md

  • TreeGridColumn base properties (MappingName, HeaderText, Width, Format)
  • TreeGridTextColumn, TreeGridNumericColumn, TreeGridDateColumn, TreeGridCheckBoxColumn, TreeGridTemplateColumn
  • DisplayBinding and value converters
  • Text alignment (HeaderTextAlignment, CellTextAlignment)
  • Padding (HeaderPadding, CellPadding)
  • Header customization (HeaderText, HeaderTemplate)
  • Hiding columns (Visible)
  • Formatting values (C2, N2, P2, date formats)

Column Sizing

📄 Read: references/column-sizing.md

  • ColumnWidthMode options (Fill, Auto, LastColumnFill, FitByCell, FitByHeader, None)
  • DefaultColumnWidth
  • Retrieving auto-calculated width (ActualWidth)
  • Per-column ColumnWidthMode
  • Minimum and maximum column widths (MinimumWidth, MaximumWidth)

Expander Customization

📄 Read: references/expander-customization.md

  • Loading expander icon through DataTemplate (ExpanderIcon)
  • Using DataTemplateSelector for expanded/collapsed icons
  • Changing the expander column (ExpanderColumn)
  • Customizing expander column width (ExpanderWidth)
  • Controlling initial expansion through a model property (ExpandStateMappingName)

Sorting & Filtering

📄 Read: references/sorting-filtering.md

  • Programmatic sorting (SortColumnDescriptions, SortColumnDescription)
  • Sorting modes (Single, Multiple, None)
  • Tri-state sorting (AllowTriStateSorting)
  • Showing sort numbers (ShowSortNumbers)
  • Sorting gesture (tap vs double-tap, SortingGestureType)
  • Sorting events (SortColumnsChanging, SortColumnsChanged)
  • Disabling sorting per column (AllowSorting)
  • Custom sorting (SortComparers, IComparer, ISortDirection)
  • Filter levels (Root, All, Extended)
  • Programmatic view filtering (View.Filter, View.RefreshFilter)
  • Condition-based filtering (Equals, Contains, Does Not Equal)
  • Clearing filters

Selection

📄 Read: references/selection.md

  • Selection modes (None, Single, Multiple, SingleDeselect)
  • Getting selected rows (SelectedIndex, SelectedRow, SelectedRows)
  • Programmatic selection (index, row, multiple rows, SelectAll)
  • Clearing selection (SelectionMode.None, ClearSelection)
  • Selection events (SelectionChanging, SelectionChanged)
  • Customizing selection appearance (SelectionBackground, SelectedRowTextColor)
  • Binding selection properties to ViewModel

Freeze Panes

📄 Read: references/freeze-panes.md

  • Freezing left columns (FrozenColumnCount)
  • Freezing right/footer columns (FooterFrozenColumnCount)
  • Freeze pane line color (FreezePaneLineColor)
  • Freeze pane line thickness (FreezePaneLineStrokeThickness)

Styling

📄 Read: references/styling.md

  • Column cell styling (CellStyle)
  • Column header styling (HeaderStyle)
  • Implicit styling (TreeGridCell, TreeGridExpanderCell, TreeGridHeaderCell, TreeGridRow, TreeGridHeaderRow)
  • DefaultStyle (HeaderRowBackground, RowBackground, RowTextColor)
  • Applying styles from app/page resources
  • Grid line visibility (Both, Horizontal, Vertical, None)
  • Grid line color and stroke customization
  • Styling priority order

Quick Start

A minimal TreeGrid bound to a nested collection:

csharp
using Syncfusion.Maui.TreeGrid;
using System.Collections.ObjectModel;

public class EmployeeInfo
{
    public string? FirstName { get; set; }
    public string? LastName { get; set; }
    public double Salary { get; set; }
    public ObservableCollection<EmployeeInfo> Children { get; set; } = new();
}

SfTreeGrid treeGrid = new SfTreeGrid();
treeGrid.ItemsSource = new ObservableCollection<EmployeeInfo>
{
    new EmployeeInfo
    {
        FirstName = "James", LastName = "Smith", Salary = 2000000,
        Children = new ObservableCollection<EmployeeInfo>
        {
            new EmployeeInfo { FirstName = "Andrew", LastName = "Fuller", Salary = 1200000 }
        }
    }
};
treeGrid.ChildPropertyName = "Children";
this.Content = treeGrid;

Namespace (XAML):

xaml
xmlns:syncfusion="clr-namespace:Syncfusion.Maui.TreeGrid;assembly=Syncfusion.Maui.TreeGrid"

Don't forget to register the Syncfusion core handler in MauiProgram.cs:

csharp
builder.ConfigureSyncfusionCore();

Forgetting ConfigureSyncfusionCore() causes runtime errors when rendering the TreeGrid.

Common Patterns

Display hierarchical data with a specific column

xaml
<syncfusion:SfTreeGrid x:Name="treeGrid"
                       ItemsSource="{Binding EmployeeCollection}"
                       ChildPropertyName="Children"
                       AutoGenerateColumnsMode="None">
    <syncfusion:SfTreeGrid.Columns>
        <syncfusion:TreeGridTextColumn HeaderText="First Name" MappingName="FirstName" />
        <syncfusion:TreeGridTextColumn HeaderText="Last Name" MappingName="LastName" />
        <syncfusion:TreeGridNumericColumn HeaderText="Salary" MappingName="Salary" Format="C2" />
    </syncfusion:SfTreeGrid.Columns>
</syncfusion:SfTreeGrid>

Bind self-relational data

csharp
treeGrid.ItemsSource = employeeViewModel.Employees;
treeGrid.ParentPropertyName = "ID";
treeGrid.ChildPropertyName = "ReportsTo";
treeGrid.SelfRelationRootValue = -1;
treeGrid.AutoExpandMode = TreeGridExpandMode.RootNodesExpanded;

Apply default styling

csharp
treeGrid.DefaultStyle.HeaderRowBackground = Color.FromArgb("#0074E3");
treeGrid.DefaultStyle.HeaderRowTextColor = Colors.White;
treeGrid.DefaultStyle.RowBackground = Color.FromArgb("#AFD5FB");
treeGrid.DefaultStyle.RowTextColor = Color.FromArgb("#212121");

Choosing the right reference

User wants to...Read
Set up the TreeGrid for the first timereferences/getting-started.md
Bind self-relational or nested datareferences/data-binding.md
Auto-generate or manually define columnsreferences/columns.md
Pick a column type or format cell valuesreferences/column-types.md
Control column widths automaticallyreferences/column-sizing.md
Customize the expand/collapse icon or columnreferences/expander-customization.md
Sort or filter hierarchical datareferences/sorting-filtering.md
Select rows or respond to selection changesreferences/selection.md
Keep columns visible during horizontal scrollreferences/freeze-panes.md
Style cells, headers, rows, or grid linesreferences/styling.md

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Syncfusion Maui Treegrid」では何ができますか?

Implement and customize Syncfusion .NET MAUI Tree Grid (SfTreeGrid) for displaying and manipulating hierarchical data in a tabular view. Use when working with MAUI tree grids, SfTreeGrid, hierarchical data binding, tree grid columns, sorting, filtering, selection, freeze panes, or expander customization.

TypingMindでSyncfusion Maui Treegridを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Syncfusion Maui Treegridはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSyncfusion Maui Treegridをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-treegridを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Syncfusion Maui Treegridを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Syncfusion Maui Treegridは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSyncfusion Maui Treegridを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Syncfusion Maui Treegrid」は無料ですか?

syncfusionがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇