๐ŸŽฏ

converting-html-css-to-wpf-xaml

๐ŸŽฏSkill

from christian289/dotnet-with-claudecode

VibeIndex|
What it does

converting-html-css-to-wpf-xaml skill from christian289/dotnet-with-claudecode

converting-html-css-to-wpf-xaml

Installation

Install skill:
npx skills add https://github.com/christian289/dotnet-with-claudecode --skill converting-html-css-to-wpf-xaml
3
AddedJan 27, 2026

Skill Details

SKILL.md

Converts HTML/CSS to WPF CustomControl XAML with correct patterns and common pitfall solutions. Use when transforming web designs to WPF, converting CSS animations to Storyboards, implementing CSS border-radius clipping, CSS pseudo-elements (::before/::after), or CSS transforms in XAML.

Overview

# HTML/CSS โ†’ WPF XAML ๋ณ€ํ™˜ ๊ฐ€์ด๋“œ

CSS โ†’ WPF ํ•ต์‹ฌ ๋งคํ•‘ ํ…Œ์ด๋ธ”

| CSS | WPF ๊ตฌํ˜„ ๋ฐฉ๋ฒ• | ์ฐธ์กฐ |

| ------------------------------------ | -------------------------------------------------------------- | --------------------------------------- |

| overflow: hidden + border-radius | Border.Clip + RectangleGeometry (RadiusX/Y + MultiBinding) | [clipping.md](references/clipping.md) |

| position: absolute (ํšŒ์ „ ์š”์†Œ) | Canvas + Canvas.Left/Top | [layout.md](references/layout.md) |

| animation-duration: 3s | Duration="0:0:3" ์ธ๋ผ์ธ | [animation.md](references/animation.md) |

| height: 130% (ํšŒ์ „ ์š”์†Œ) | Converter๋กœ ๋™์  ๊ณ„์‚ฐ (๋ฐฐ์œจ 2.0) | [transform.md](references/transform.md) |

| ::before, ::after | Canvas ๋‚ด ์š”์†Œ, ์„ ์–ธ ์ˆœ์„œ๋กœ z-order | [layout.md](references/layout.md) |

| z-index | ์„ ์–ธ ์ˆœ์„œ ๋˜๋Š” Panel.ZIndex | [layout.md](references/layout.md) |

| ์ค‘์•™ ์ •๋ ฌ ์ฝ˜ํ…์ธ  | Canvas ๋ฐ– Grid์—์„œ Alignment ์ ์šฉ | [layout.md](references/layout.md) |

| spacing | Maring ์†์„ฑ์œผ๋กœ ๋Œ€์ฒด | - |

ํ•ต์‹ฌ ๊ทœ์น™ ์š”์•ฝ

1. Duration์€ ํ•ญ์ƒ ์ธ๋ผ์ธ

```xml

```

2. ๋‘ฅ๊ทผ ๋ชจ์„œ๋ฆฌ ํด๋ฆฌํ•‘์€ Border.Clip + RectangleGeometry

```xml

```

3. ํšŒ์ „ ์š”์†Œ๋Š” Canvas ๋‚ด ๋ฐฐ์น˜

```xml

```

4. ContentPresenter๋Š” Canvas ๋ฐ– Grid์— ๋ฐฐ์น˜

```xml

```

์ฐธ์กฐ ๋ฌธ์„œ

| ํŒŒ์ผ | ๋‚ด์šฉ |

| ---------------------------------------------------------- | ------------------------------------------------------- |

| [references/index.md](references/index.md) | ์ „์ฒด ์ผ€์ด์Šค ๋ชฉ๋ก (๋น ๋ฅธ ๊ฒ€์ƒ‰์šฉ) |

| [references/clipping.md](references/clipping.md) | ํด๋ฆฌํ•‘ ๊ด€๋ จ ์‹ค์ˆ˜ (Grid.Clip, OpacityMask, ClipToBounds) |

| [references/animation.md](references/animation.md) | ์• ๋‹ˆ๋ฉ”์ด์…˜/Duration ๊ด€๋ จ |

| [references/layout.md](references/layout.md) | Canvas/Grid/์ •๋ ฌ, pseudo-element ๊ด€๋ จ |

| [references/transform.md](references/transform.md) | ํšŒ์ „/๋†’์ด ๊ณ„์‚ฐ ๊ด€๋ จ |

| [references/converters.md](references/converters.md) | ํ•„์ˆ˜ Converter ํŒจํ„ด |

| [references/case-template.md](references/case-template.md) | ์ƒˆ ์ผ€์ด์Šค ์ถ”๊ฐ€์šฉ ํ…œํ”Œ๋ฆฟ |