Skip to main content

avalonia-numeric-input

스타13
포크0
업데이트2026년 6월 3일 20:05

Bind numeric entry controls in Avalonia 11 to a view model correctly, including the nullable trap that bites NumericUpDown. Use when adding a NumericUpDown or numeric TextBox to a settings panel, when a numeric value will not two-way bind or resets to zero, when a NumericUpDown bound to an int or double misbehaves, when you need min/max clamping, step increment, decimal-place formatting, or per-field validation with error display, or when deciding between NumericUpDown and a TextBox plus converter. Covers NumericUpDown.Value being a nullable decimal and how it binds to int and double, FormatString and Increment, Minimum and Maximum, validation via ObservableValidator, and a TextBox-plus-converter fallback. Triggers on Avalonia NumericUpDown, numeric binding, decimal versus int binding, value not updating, NumericUpDown resets, FormatString, Minimum Maximum, spinner increment, numeric validation, ObservableValidator, numeric TextBox.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly