syncfusion-wpf-propertygrid — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-wpf-propertygrid (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
Use this skill when you need to:
This skill covers the complete PropertyGrid implementation including basic setup, property binding, editors, organization, and advanced customization.
Required assemblies:
Syncfusion.PropertyGrid.WPFSyncfusion.SfInput.WPFSyncfusion.SfShared.WPFSyncfusion.Shared.WPFSyncfusion.Tools.WPFXAML namespace:
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"The PropertyGrid control provides an interface for browsing and editing properties of any object with:
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📄 Read: references/getting-started.md
📄 Read: references/overview.md
📄 Read: references/property-binding.md
📄 Read: references/custom-editors.md
📄 Read: references/category-editors.md
📄 Read: references/collection-editor.md
📄 Read: references/custom-property-definition.md
📄 Read: references/grouping.md
📄 Read: references/sorting.md
📄 Read: references/filtering.md
📄 Read: references/nested-properties.md
📄 Read: references/appearance.md
📄 Read: references/attached-properties.md
📄 Read: references/keyboard-navigation.md
📄 Read: references/localization.md
📄 Read: references/virtualization.md
<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)
};
}
}// 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; }
}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"/>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; }
}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";
}
}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
}
}| Property | Type | Description |
|---|---|---|
| SelectedObject | object | The object whose properties are displayed |
| SelectedObjects | object[] | Multiple objects for common property editing |
| EnableGrouping | bool | Groups properties by category |
| SortDirection | ListSortDirection? | Sorts properties (Ascending, Descending, null) |
| PropertyExpandMode | PropertyExpandModes | FlatMode or NestedMode for complex objects |
| AutoGenerateItems | bool | Auto-generates property items (default: true) |
| Property | Type | Description |
|---|---|---|
| SearchBoxVisibility | Visibility | Shows/hides the search box |
| ButtonPanelVisibility | Visibility | Shows/hides sort/group buttons |
| DescriptionPanelVisibility | Visibility | Shows/hides description panel |
| EnableToolTip | bool | Enables tooltips on property items |
| DisableAnimationOnObjectSelection | bool | Disables loading animation |
| Property | Type | Description |
|---|---|---|
| HidePropertiesCollection | ObservableCollection<string> | Property names to hide |
| CustomEditorCollection | CustomEditorCollection | Custom editors for properties |
| Items | PropertyGridItemCollection | Manually defined property items |
| Event | Description |
|---|---|
| AutoGeneratingPropertyGridItem | Fired when a property item is being created (can cancel or modify) |
| ValueChanged | Fired when a property value changes |
| SelectedPropertyItemChanged | Fired when the selected property changes |
| CollectionEditorOpening | Fired before collection editor opens (can cancel or set readonly) |
Display and edit application configuration with grouped categories (Appearance, Behavior, Performance).
Create visual designers for custom controls or components with property editing.
Build debugging or inspection tools to view and modify object properties at runtime.
Generate configuration UI automatically from data model classes without manual form design.
Display nested object properties with collections, allowing users to edit hierarchical data.
Allow users to configure report parameters with appropriate editors for each data type.
Edit properties of game objects, scenes, or assets with custom editors for vectors, colors, resources.
Define and edit business rules with property-based configuration and validation.
[Category], [Description], [DisplayName] attributes to properties[Browsable(false)] to hide properties instead of code-based filteringObservableCollection for collection properties[Required], [Range], etc.)[Browsable] attribute is not falseHidePropertiesCollectionAutoGenerateItems is trueCustomEditorCollectionITypeEditor correctlyCreate method returns valid controlIListCollectionEditorOpening event doesn't cancelNext 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.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.