xaf-custom-editors

Implement custom XAF editors for Blazor and WinForms with EditorDescriptorsFactory registration.

6|2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/kashiash/xaf-skills --skill xaf-custom-editors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xaf-custom-editors
Source: https://github.com/kashiash/xaf-skills/tree/main/xaf-custom-editors
Command: npx skills add https://github.com/kashiash/xaf-skills --skill xaf-custom-editors

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

XAF developers require reusable, platform-aware editors that integrate with the framework across Blazor and WinForms, enabling consistent UI customization and data binding for properties and lists.

Core Features & Use Cases

  • Blazor custom property editors using BlazorPropertyEditorBase
  • WinForms custom property editors using DXPropertyEditor and WinPropertyEditor
  • Custom List Editor implementing required lifecycle (CreateControlsCore, AssignDataSourceToControl, Refresh, FocusedObject, GetSelectedObjects) and registration via EditorDescriptorsFactory.

Quick Start

Create a new editor by deriving from BlazorPropertyEditorBase or DXPropertyEditor and register it via EditorDescriptorsFactory to expose it in your XAF views.

Frequently Asked Questions about xaf-custom-editors

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a custom property editor in DevExpress XAF for Blazor?

Create a custom XAF Blazor property editor by deriving from BlazorPropertyEditorBase. Register the new editor using EditorDescriptorsFactory to expose it within your XAF views and ensure proper data binding.

What is the best way to implement a custom List Editor in XAF?

Implement a custom XAF List Editor by applying required lifecycle methods like CreateControlsCore, AssignDataSourceToControl, and Refresh. Register the completed editor via EditorDescriptorsFactory to integrate list data binding.

Can I use the same custom editor logic for both WinForms and Blazor in XAF?

Yes, XAF supports platform-aware editors across Blazor and WinForms. You implement modular designs using BlazorPropertyEditorBase or WinPropertyEditor separately, ensuring consistent UI customization and data binding for both platforms.

How do I register a custom editor so it appears in XAF views?

Register your custom XAF editor using the EditorDescriptorsFactory. This registration exposes the editor in your XAF views, making it available for property and list editor assignments across your application modules.

Which lifecycle methods are required when building a custom XAF List Editor?

Building a custom XAF List Editor requires implementing lifecycle methods including CreateControlsCore, AssignDataSourceToControl, Refresh, FocusedObject, and GetSelectedObjects to manage control rendering and data source binding.

When do I need a custom editor in XAF instead of the default property editors?

You need custom XAF editors when requiring reusable, platform-aware UI components for Blazor or WinForms. This approach provides consistent UI customization and specialized data binding for properties and lists that default editors lack.