Skip to content

Conversation

@ebryliakov
Copy link
Contributor

Simplified the ButtonDetailViewItemBlazor implementation:

  • ViewItem now implements IComponentContentHolder directly
    (no wrapper class needed)
  • Component model is created with all parameters in CreateControlCore

This approach reduces boilerplate code and better demonstrates the
recommended pattern for creating custom view items in XAF Blazor
applications.

Simplified the ButtonDetailViewItemBlazor implementation:
- ViewItem now implements IComponentContentHolder directly
(no wrapper class needed)
- Component model is created with all parameters in CreateControlCore

This approach reduces boilerplate code and better demonstrates the
recommended pattern for creating custom view items in XAF Blazor
applications.
@ebryliakov ebryliakov requested a review from arkady15 December 8, 2025 15:37
@ebryliakov ebryliakov marked this pull request as ready for review December 9, 2025 10:06
@arkady15 arkady15 merged commit 8ad712f into DevExpress-Examples:25.2.1+ Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants