MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Add NumericUpDown for `long` and `double`
未关闭
还没有人认领这个 Issue。
enhancement
- 主要语言
- C#
- 星标
- 16.3k
- 派生
- 3.5k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 8
描述
Is your feature request related to a problem? Please describe.
The current numeric controls only support Int32 and Decimal. This can be limiting when working with values that exceed the Int32 range or when floating-point semantics are more appropriate than Decimal.
Describe the solution you'd like
Add dedicated Int64 (long) and Double (double) UpDown controls, complementing the existing controls:
| Already supported | Control | C# Type | Typical Use Cases |
|---|---|---|---|
| ✅ | NumericUpDown |
int |
Counts, quantities, indexes, IDs |
| ❌ | LongUpDown |
long |
Large IDs, file sizes, timestamps, large counters |
| ✅ | DecimalUpDown |
decimal |
Money, prices, tax rates, financial calculations |
| ❌ | DoubleUpDown |
double |
Scientific measurements, engineering values, coordinates, floating-point calculations |
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查现有的 NumericUpDown 和 DecimalUpDown 控件,以了解当前数值控件的结构和测试方式。为 Int64 (long) 和 Double (double) 添加专用控件,并验证二者都支持 issue 中描述的用例,同时补充现有控件。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- desktop
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100