creating-mewui-controls

Create and integrate custom interactive controls for the MewUI framework.

40|5|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/christian289/dotnet-with-claudecode --skill creating-mewui-controls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-mewui-controls
Source: https://github.com/christian289/dotnet-with-claudecode/tree/main/.claude/skills/creating-mewui-controls
Command: npx skills add https://github.com/christian289/dotnet-with-claudecode --skill creating-mewui-controls

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building custom, reusable MewUI controls is error-prone without clear patterns for measuring, arranging, rendering, and input handling. This skill provides a guided approach to implement robust controls that integrate with the MewUI layout system and input model.

Core Features & Use Cases

  • Base patterns for Control, ContentControl, and Panel to model interactive UI.
  • Comprehensive input handling for mouse and keyboard with proper focus and hit-testing.
  • Binding and fluent extension utilities to compose complex controls and reuse behavior.
  • Use Case: Create a draggable custom button that responds to mouse, keyboard, and binding sources across a complex UI.

Quick Start

Create a new MyCustomControl derived from Control and implement MeasureContent, OnRender, and input handlers to render and interact inside a host window.

Frequently Asked Questions about creating-mewui-controls

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

FAQPage Schema
How do I create custom MewUI controls with proper rendering and input handling?

To create custom MewUI controls, derive from base classes like Control, ContentControl, or Panel, then implement MeasureContent, OnRender, and input handlers for mouse and keyboard interaction within the host window.

What base classes do I need to know to build interactive MewUI controls?

Building interactive MewUI controls requires knowledge of base classes including Control, ContentControl, and Panel, which model the interactive UI and integrate with the MewUI layout system and input model.

How does data binding work when extending existing MewUI controls?

Extending existing MewUI controls uses binding and fluent extension utilities to compose complex controls and reuse behavior, allowing custom controls to respond to binding sources across a complex UI.

Can I implement custom rendering across MewUI applications without errors?

Yes, implementing custom rendering across MewUI applications is error-free when you follow guided patterns for measuring, arranging, rendering, and input handling that integrate properly with the MewUI layout system.

What's the best way to handle mouse and keyboard input in a custom MewUI control?

The best way to handle input in a custom MewUI control is to implement comprehensive input handling for mouse and keyboard with proper focus management and hit-testing patterns enforced by the base classes.

When do I need to implement MeasureContent and OnRender for MewUI controls?

You need to implement MeasureContent and OnRender when creating a new custom control derived from Control to properly render and interact inside a host window using the MewUI layout system.