Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-wpf-propertygrid(同步融合 WPF 属性网格)

syncfusion-wpf-propertygrid 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-wpf-propertygrid 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 43,660。

总安装 970周安装 40GitHub Stars 2下载 317核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合快速定位候选结果。支持基于关键词、任务场景或来源线索进行信息筛选与匹配。通过 npx skills add 命令从指定 GitHub 仓库安装使用。建议确认权限范围和维护状态,避免触发联网或文件读写操作。

syncfusion-wpf-propertygrid 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

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-propertygrid 怎么安装?

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

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

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

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

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

syncfusion-wpf-propertygrid 是免费的吗?

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

syncfusion-wpf-propertygrid 用的人多吗?

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

syncfusion-wpf-propertygrid 安全吗?

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

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

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

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-wpf-propertygrid

同步融合 WPF 属性网格 · 本页

9702需要联网未明确通过

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

SKILL.md 原文

Implementing PropertyGrid

Guide for implementing Syncfusion® WPF PropertyGrid control — a powerful property inspector for browsing and editing object properties with support for custom editors, category editors, collection editing, grouping, sorting, filtering, and nested properties.

When to Use This Skill

Use this skill when you need to:

  • Display object properties for browsing and editing
  • Create property inspectors similar to Visual Studio's Properties window
  • Implement custom value editors for specific property types
  • Group and categorize properties for better organization
  • Edit collection properties with add/remove/edit capabilities
  • Filter and search properties dynamically
  • Support nested properties with expandable property items
  • Customize property display with descriptions, display names, and tooltips
  • Implement design-time editors for visual configuration tools
  • Build configuration panels for application settings

This skill covers the complete PropertyGrid implementation including basic setup, property binding, editors, organization, and advanced customization.

Component Overview

Required assemblies:

  • Syncfusion.PropertyGrid.WPF
  • Syncfusion.SfInput.WPF
  • Syncfusion.SfShared.WPF
  • Syncfusion.Shared.WPF
  • Syncfusion.Tools.WPF

XAML namespace:

xmlns:syncfusion="http://schemas.syncfusion.com/wpf"

The PropertyGrid control provides an interface for browsing and editing properties of any object with:

  • Automatic Property Discovery - Reflects properties from any object automatically
  • Custom Value Editors - Assign custom controls for editing specific properties
  • Category Editors - Group related properties with custom editing UI
  • Collection Editor - Built-in dialog for editing collection properties (List, ObservableCollection)
  • Grouping & Sorting - Organize properties by category with multiple sort options
  • Filtering - Hide properties and search with built-in SearchBox
  • Nested Properties - Expand complex objects to show nested properties
  • Blendability - Design-time support in Blend and Visual Studio
  • Theming - Built-in theme support for consistent styling
  • MVVM Support - Full data binding and property change notification

Control Structure

PropertyGrid
├── SearchBox (optional) - Filter properties by name
├── Sort/Group Buttons - Toggle between sorted and categorized views
├── Property List
│   ├── Property Name Column
│   └── Value Editor Column (context-sensitive editors)
└── Description Panel (optional) - Shows property description

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly deployment
  • Adding PropertyGrid via designer, XAML, and C#
  • Binding with SelectedObject
  • Populating properties automatically
  • Basic configuration and setup
  • Theme support

📄 Read: references/overview.md

  • Control structure and architecture
  • Feature overview and capabilities
  • Use cases and scenarios
  • When to use PropertyGrid

📄 Read: references/property-binding.md

  • SelectedObject binding
  • Data context configuration
  • INotifyPropertyChanged implementation
  • ObservableCollection usage
  • Dynamic property updates
  • Binding multiple objects

Editors and Customization

📄 Read: references/custom-editors.md

  • Creating custom editors (ITypeEditor interface)
  • Assigning editors via Editor attribute
  • CustomEditorCollection usage
  • Assigning by property name vs property type
  • EditorType vs Editor property
  • Constructor with parameters
  • Attach/Create/Detach methods
  • Custom editor controls

📄 Read: references/category-editors.md

  • CategoryEditor concept
  • Grouping related properties
  • EditorTemplate customization
  • Multiple property categorization
  • Visibility converters
  • Custom category layouts

📄 Read: references/collection-editor.md

  • Editing collection properties (List, ObservableCollection)
  • Add/remove items dialog
  • Editing collection as SelectedObject
  • Nested collection editing
  • Readonly mode configuration
  • CollectionEditorOpening event
  • IList type requirements

📄 Read: references/custom-property-definition.md

  • Manual PropertyItem definition
  • PropertyGridItem configuration
  • AutoGenerateItems property
  • Add/remove items at runtime
  • Custom DisplayName, Description, CategoryName
  • Custom editors and nested properties
  • Description panel templates

Organization Features

📄 Read: references/grouping.md

  • EnableGrouping property
  • Grouping by Category attribute
  • Group appearance customization
  • Expand/collapse behavior
  • Group button visibility

📄 Read: references/sorting.md

  • SortDirection property (Ascending, Descending, Null)
  • Sorting properties by name
  • Sorting categories
  • Order attribute for custom ordering
  • ButtonPanelVisibility for sort buttons
  • Disabling sort

📄 Read: references/filtering.md

  • HidePropertiesCollection for hiding properties
  • Browsable attribute (hide with false)
  • Bindable attribute (hide with false)
  • Display.AutoGenerateField attribute
  • AutoGeneratingPropertyGridItem event
  • SearchBox for filtering by name
  • SearchBoxVisibility property

📄 Read: references/nested-properties.md

  • PropertyExpandMode (FlatMode vs NestedMode)
  • NestedPropertyDisplayMode property
  • Expanding complex object properties
  • Update value on lost focus
  • Manual nested property definition

Appearance and Behavior

📄 Read: references/appearance.md

  • Visual styling and themes
  • Property name/value appearance
  • Description panel customization
  • DescriptionPanelVisibility property
  • Grid lines and spacing
  • Color customization

📄 Read: references/attached-properties.md

  • Using WPF attached properties
  • PropertyGrid-specific attached properties
  • Configuration examples

📄 Read: references/keyboard-navigation.md

  • Keyboard shortcuts
  • Tab navigation between properties
  • Enter/Escape behavior
  • Focus management

📄 Read: references/localization.md

  • Localization support
  • Resource file configuration
  • Culture-specific strings
  • Customizing built-in text

📄 Read: references/virtualization.md

  • VirtualizingMode property
  • Performance optimization for large property sets
  • Memory management
  • Scrolling behavior

Quick Start Example

Basic PropertyGrid Setup

<Window x:Class="PropertyGridSample.MainWindow"
        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">
    <Grid>
        <syncfusion:PropertyGrid Name="propertyGrid1"
                                 SelectedObject="{Binding SelectedEmployee}"
                                 Width="400" Height="500">
            <syncfusion:PropertyGrid.DataContext>
                <local:ViewModel/>
            </syncfusion:PropertyGrid.DataContext>
        </syncfusion:PropertyGrid>
    </Grid>
</Window>
// Employee class to be explored in PropertyGrid
public class Employee : INotifyPropertyChanged
{
    private string name;
    public string Name
    {
        get => name;
        set { name = value; OnPropertyChanged(nameof(Name)); }
    }

    [Display(Name = "Employee ID")]
    [Description("Unique identifier for the employee")]
    public string ID { get; set; }

    [Category("Personal Info")]
    [DisplayName("Date of Birth")]
    public DateTime DOB { get; set; }

    [Category("Personal Info")]
    [Range(18, 65)]
    public int Age { get; set; }

    [Browsable(false)] // Hide this property
    public string InternalCode { get; set; }

    public event PropertyChangedEventHandler PropertyChanged;
    protected void OnPropertyChanged(string propertyName) =>
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}

// ViewModel
public class ViewModel
{
    public object SelectedEmployee { get; set; }

    public ViewModel()
    {
        SelectedEmployee = new Employee
        {
            Name = "Johnson",
            Age = 25,
            ID = "EMP001",
            DOB = new DateTime(1999, 5, 15)
        };
    }
}

Common Patterns

Pattern 1: Custom Editor for Email Property

// Custom Editor with email validation mask
public class EmailEditor : ITypeEditor
{
    SfMaskedEdit maskedEdit;

    public object Create(PropertyInfo propertyInfo)
    {
        maskedEdit = new SfMaskedEdit
        {
            MaskType = MaskType.RegEx,
            Mask = "[A-Za-z0-9._%-]+@[A-Za-z0-9]+.[A-Za-z]{2,3}"
        };
        return maskedEdit;
    }

    public void Attach(PropertyViewItem property, PropertyItem info)
    {
        var binding = new Binding("Value")
        {
            Mode = BindingMode.TwoWay,
            Source = info,
            ValidatesOnExceptions = true,
            ValidatesOnDataErrors = true
        };
        BindingOperations.SetBinding(maskedEdit, SfMaskedEdit.ValueProperty, binding);
    }

    public void Detach(PropertyViewItem property) { }
}

// Apply to property
public class Employee
{
    [Editor("EmailID", typeof(EmailEditor))]
    public string EmailID { get; set; }
}

Pattern 2: Grouping Properties by Category

public class Employee
{
    [Category("Basic Info")]
    public string Name { get; set; }

    [Category("Basic Info")]
    public string ID { get; set; }

    [Category("Contact Details")]
    public string Email { get; set; }

    [Category("Contact Details")]
    public string Phone { get; set; }
}
<syncfusion:PropertyGrid SelectedObject="{Binding Employee}"
                         EnableGrouping="True"/>

Pattern 3: Editing Collection Properties

public class Product
{
    public string ProductName { get; set; }

    // Collection property - automatically gets collection editor
    public ObservableCollection<Customer> Customers { get; set; }

    public Product()
    {
        Customers = new ObservableCollection<Customer>
        {
            new Customer { ID = 1, Name = "John" },
            new Customer { ID = 2, Name = "Jane" }
        };
    }
}

public class Customer
{
    public int ID { get; set; }
    public string Name { get; set; }
}

Pattern 4: Override Property Items at Runtime

private void PropertyGrid_AutoGeneratingPropertyGridItem(
    object sender, AutoGeneratingPropertyGridItemEventArgs e)
{
    // Hide specific properties
    if (e.DisplayName == "InternalCode")
    {
        e.Cancel = true;
    }

    // Make property readonly
    if (e.DisplayName == "ID")
    {
        e.ReadOnly = true;
    }

    // Change display name
    if (e.DisplayName == "DOB")
    {
        e.DisplayName = "Date of Birth";
    }

    // Change category
    if (e.DisplayName == "Age")
    {
        e.Category = "Personal Information";
    }
}

Pattern 5: Property Value Changed Notification

private void PropertyGrid_ValueChanged(object sender, ValueChangedEventArgs e)
{
    var changedProperty = e.Property;
    var oldValue = e.OldValue;
    var newValue = e.NewValue;

    // Log the change
    Console.WriteLine($"{changedProperty.Name} changed from {oldValue} to {newValue}");

    // React to specific property changes
    if (changedProperty.Name == "Age")
    {
        // Validate or update related properties
    }
}

Key Properties

Core Properties

PropertyTypeDescription
SelectedObjectobjectThe object whose properties are displayed
SelectedObjectsobject[]Multiple objects for common property editing
EnableGroupingboolGroups properties by category
SortDirectionListSortDirection?Sorts properties (Ascending, Descending, null)
PropertyExpandModePropertyExpandModesFlatMode or NestedMode for complex objects
AutoGenerateItemsboolAuto-generates property items (default: true)

UI Configuration

PropertyTypeDescription
SearchBoxVisibilityVisibilityShows/hides the search box
ButtonPanelVisibilityVisibilityShows/hides sort/group buttons
DescriptionPanelVisibilityVisibilityShows/hides description panel
EnableToolTipboolEnables tooltips on property items
DisableAnimationOnObjectSelectionboolDisables loading animation

Collections

PropertyTypeDescription
HidePropertiesCollectionObservableCollectionProperty names to hide
CustomEditorCollectionCustomEditorCollectionCustom editors for properties
ItemsPropertyGridItemCollectionManually defined property items

Events

EventDescription
AutoGeneratingPropertyGridItemFired when a property item is being created (can cancel or modify)
ValueChangedFired when a property value changes
SelectedPropertyItemChangedFired when the selected property changes
CollectionEditorOpeningFired before collection editor opens (can cancel or set readonly)

Common Use Cases

1. Application Settings Editor

Display and edit application configuration with grouped categories (Appearance, Behavior, Performance).

2. Design-Time Property Inspector

Create visual designers for custom controls or components with property editing.

3. Object Inspector in Development Tools

Build debugging or inspection tools to view and modify object properties at runtime.

4. Dynamic Configuration Panels

Generate configuration UI automatically from data model classes without manual form design.

5. Data Entry Forms with Complex Objects

Display nested object properties with collections, allowing users to edit hierarchical data.

6. Report Parameter Configuration

Allow users to configure report parameters with appropriate editors for each data type.

7. Game/Application Asset Editor

Edit properties of game objects, scenes, or assets with custom editors for vectors, colors, resources.

8. Business Rule Configuration

Define and edit business rules with property-based configuration and validation.

Related Components

  • PropertyGridItem - Individual property item representation
  • CustomEditor - Custom value editor configuration
  • CategoryEditor - Category-based property grouping
  • Collection Editor - Built-in collection editing dialog

Best Practices

  1. Use Attributes for Metadata

- Apply [Category], [Description], [DisplayName] attributes to properties - Use [Browsable(false)] to hide properties instead of code-based filtering

  1. Implement INotifyPropertyChanged

- Ensure your data objects implement property change notification - Use ObservableCollection for collection properties

  1. Custom Editors for Complex Types

- Create custom editors for types that don't have suitable default editors - Consider user experience when designing custom editor UI

  1. Performance with Large Objects

- Use virtualization for objects with many properties - Consider lazy loading for nested properties - Filter unnecessary properties early

  1. Validation

- Use data annotations for validation ([Required], [Range], etc.) - Handle validation errors gracefully in custom editors

  1. Accessibility

- Ensure custom editors support keyboard navigation - Provide meaningful descriptions for screen readers - Test with high contrast themes

Troubleshooting

Properties Not Showing

  • Verify [Browsable] attribute is not false
  • Check if property is in HidePropertiesCollection
  • Ensure property has public getter
  • Verify AutoGenerateItems is true

Custom Editor Not Applied

  • Check editor is properly registered in CustomEditorCollection
  • Verify property name/type matches
  • Ensure editor implements ITypeEditor correctly
  • Check Create method returns valid control

Collection Editor Not Opening

  • Verify collection type derives from IList
  • Ensure collection property has setter
  • Check collection type has parameterless constructor
  • Verify CollectionEditorOpening event doesn't cancel

Performance Issues

  • Enable virtualization for large property sets
  • Reduce nested property depth
  • Filter unnecessary properties
  • Consider manual property definition instead of auto-generation

Next Steps: Navigate to specific reference documents above based on your implementation needs. Start with getting-started.md for initial setup, then explore editors and organization features as needed.

平台分布

Codex

37.25%
按下载量换算118

Claude

30.53%
按下载量换算97

Cursor

18.92%
按下载量换算60

Gemini CLI

10.89%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills