devexpress-xaf-appearance

Configures XAF conditional appearance rules for Blazor and WinForms apps.

39|7|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/DevExpress/agent-skills --skill devexpress-xaf-appearance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devexpress-xaf-appearance
Source: https://github.com/DevExpress/agent-skills/tree/main/plugins/dx-xaf/skills/devexpress-xaf-appearance
Command: npx skills add https://github.com/DevExpress/agent-skills --skill devexpress-xaf-appearance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manually adjusting XAF UI elements to reflect changing business object state is time-consuming and error-prone, especially as applications scale and business rules evolve.

Core Features & Use Cases

  • Declarative Conditional Rules: Define UI styling, visibility, and enable/disable rules directly in C# business classes using the Appearance attribute, eliminating manual UI adjustments.
  • Flexible Rule Configuration: Supports criteria-based and method-based rules, priority-based conflict resolution, and targeting for specific UI elements like ListView cells, DetailView property editors, layout groups, and actions.
  • Runtime Customization: Extend default appearance behavior via AppearanceController events to add dynamic rules, override styling for specific elements, or reset appearance for selected items.
  • Use Case: For a XAF contact management app, automatically hide the "Address" layout group for unmarried contacts and highlight high-priority tasks in red in the ListView without writing repetitive UI code.

Quick Start

Use the devexpress-xaf-appearance skill to add a conditional rule that hides the "Address" layout group in the Contact DetailView when the IsMarried property is false.

Frequently Asked Questions about devexpress-xaf-appearance

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

FAQPage Schema
How do I conditionally hide or style UI elements in a DevExpress XAF application?

You can conditionally style XAF UI elements by applying the declarative Appearance attribute directly to C# business classes. This eliminates manual dynamic UI styling workflows by enforcing business rules for visibility and formatting.

Can I use conditional appearance rules to manage action state and visibility in both Blazor and WinForms?

Conditional appearance rules manage action state and UI visibility across both Blazor and WinForms platforms. They rely on the DevExpress.ExpressApp.ConditionalAppearance NuGet package within XAF v26.1+ .NET 8 projects.

How do I define conditional appearance rules based on business object state?

You define conditional appearance rules using criteria-based or method-based logic in your C# business classes. This supports priority-based conflict resolution for targeting specific UI elements like ListView cells and DetailView property editors.

What is the best way to dynamically override XAF UI styling at runtime?

To dynamically override XAF UI styling at runtime, extend the default behavior via AppearanceController events. This allows you to add dynamic rules, override styling for selected items, or reset appearance without altering static declarations.

How do I highlight specific rows or cells in a XAF ListView based on data conditions?

You highlight specific ListView cells by applying the Appearance attribute with criteria-based rules to your business class. This declarative method targets individual ListView cells for styling based on object data conditions.