Commit Graph

1136 Commits

Author SHA1 Message Date
杨劼
0d98aa899d 删除注释的代码 2025-09-16 11:29:56 +08:00
杨劼
5c501c67fe 把 简化 Null 检查 和 使用模式匹配 加入忽略的warn 2025-09-15 17:40:24 +08:00
杨劼
890ab9c2e8 修复一处 C29236 (编译时需要绑定 lambda 表达式至少 100 次。请考虑使用显式参数类型声明 lambda 表达式,如果包含的方法调用是泛型的,请考虑使用显式类型参数。)
去除了一处完全无意义的新建 WrapPanel
去除了一处完全无意义的 获取 HotkeyConfiguration
Package.props 增加了 NoWarn 去除一下不必关心的 warn
2025-09-15 17:13:04 +08:00
Dong Bin
e163d671ab Improve AutoCompleteBox focus behavior for 11.3.x (#761)
* feat: improve AutoCompleteBox focus behavior for 11.3.x

* fix: open dropdown on tab navigation regardless of navigation method

* feat: update per copilot comment.

* feat: add a flag to control focus.

* fix: fix naming.
2025-09-10 21:30:56 +08:00
Dong Bin
8147a05b5c feat: add TrailingWrapWidth. 2025-09-03 21:18:56 +08:00
Dong Bin
a778882c33 feat: update namespace for WrapPanelWithTrailingItem and its tests 2025-09-03 21:08:37 +08:00
Dong Bin
bce6e08561 feat: add tests. 2025-09-03 18:17:56 +08:00
Dong Bin
37aa84edfb feat: initial implemention. 2025-09-03 18:17:56 +08:00
Dong Bin
c62015a70a Merge pull request #752 from yangjieshao/main
修复了NumPad对NumericUpDown和IPv4Box的支持
2025-08-29 17:07:03 +08:00
Dong Bin
8456148acf Merge pull request #756 from irihitech/fix-multicombobox-items-in-axaml
feat: simplify closable tag.
2025-08-29 01:37:10 +08:00
Dong Bin
18e9fbe8d5 Update src/Ursa/Controls/ComboBox/MultiComboBoxSelectedItemList.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-29 01:34:11 +08:00
Dong Bin
da93b01c14 Merge pull request #749 from Samuel-B-D/fix-multicombobox-items-in-axaml
Fix MultiComboBox to works with items added in axaml
2025-08-29 01:30:52 +08:00
杨劼
f9cbba5419 修复了 https://github.com/irihitech/Ursa.Avalonia/issues/753 当有多个外部 button绑定 不同类型的 NumericUpDown控件的时候,点击button会报错的问题
修正 IPv4Box.cs NumPad.cs NumPad.axaml 文件的编码格式为 utf-8

Semi.Avalonia.Demo.Desktop.Program 增加 SupportedOSPlatform
2025-08-28 11:34:24 +08:00
Dong Bin
24dda1ebaf feat: simplify closable tag. 2025-08-27 23:37:23 +08:00
Samuel Bergeron-Drouin
ca3e78c3a7 Fix runtime crash when adding controls (anything other than MultiComboBoxItem with text content) to a MultiComboBox in axaml 2025-08-25 10:30:56 -04:00
杨劼
f9fb8cb8ae NumPad 修复了 官方NumericUpDown对NumPad不响应的问题
NumPad 修复了 当Target不是TextBox的时候,NumPad上的Delete和Back不响应的问题
IPv4Box 修复了 由于失去焦点所以对 NumPad 不响应的问题
2025-08-20 12:19:03 +08:00
Dong Bin
eb8383f2ae Merge pull request #609 from WCKYWCKF/pr5
Add Animation to NavMenu
2025-08-20 01:27:47 +08:00
Soar360
37d359e73d 更新 Pagination.cs 中 CurrentPage 属性注册
修改 CurrentPage 属性的注册方式,新增 defaultBindingMode 参数以支持双向绑定。其他常量定义保持不变。
2025-08-19 11:24:37 +08:00
Samuel Bergeron-Drouin
65e94478b8 Fix the behavior when using ItemsSource 2025-08-18 15:43:53 -04:00
Samuel Bergeron-Drouin
976ddc4a5e Fix MultiComboBox to works with items added in axaml 2025-08-18 15:08:42 -04:00
望尘空忧
c631c9a871 feat:Add several predefined SizeAnimations. 2025-08-18 23:11:02 +08:00
望尘空忧
2345c8a9de fix:Fix the issue where SizeAnimationHelper.EnableAnimation is not properly loaded when used via the styling system. 2025-08-18 23:09:51 +08:00
望尘空忧
df23e6263c misc:Rename WHAnimationHelper to SizeAnimationHelper to make its purpose immediately clear and eliminate any ambiguity caused by the cryptic “WH.” 2025-08-18 22:06:47 +08:00
望尘空忧
b9e104a8b8 feat:Redesign the usage pattern of WHAnimationHelper once more to deliver a superior axaml editing and consumption experience. 2025-08-10 16:37:03 +08:00
望尘空忧
c801c4eec4 misc:Refactor the WHAnimationHelper class structure to clearly define its responsibilities. 2025-08-10 00:00:30 +08:00
望尘空忧
bb7873ef66 feat:Implements subtle animations for the NavMenu in a non-intrusive way. 2025-08-09 23:10:47 +08:00
望尘空忧
4a4e36d50d fix:Resolve Ursa.ReactiveUIExtension dependency version conflict.
fix:Fix Ursa project target framework detection in specific dev environments.
2025-08-05 16:16:26 +08:00
Dong Bin
2a0ee06bf1 Add comprehensive test coverage for many controls (#737)
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-07-30 16:25:13 +08:00
ejihuang
bb16500f08 fix: Prevent duplicate items in MultiComboBox SelectedItems by adding existence check 2025-07-21 10:03:38 +08:00
rabbitism
ff65f4f441 feat: add new readonly property: LineCount. add a demo of consuming this property. demo will be reverted. 2025-07-13 15:32:33 +08:00
Zhang Dian
0a684ec70f misc: bump version. 2025-07-11 20:13:42 +08:00
Zhang Dian
1184796604 Merge pull request #701 from irihitech/navmenu
NavMenu: SelectionChanging Event
2025-07-11 14:48:33 +08:00
Dong Bin
239901d0b1 fix: fix nullable annotations in popconfirm. 2025-07-11 13:59:14 +08:00
Zhang Dian
f6390f3080 Merge pull request #722 from irihitech/focus
Fix IPBox and MultiComboBox focus style
2025-07-10 22:32:22 +08:00
Dong Bin
82e9a7eeb7 Merge pull request #690 from irihitech/tagInput
replace PathIcon with Button in ClosableTag
2025-07-10 21:46:24 +08:00
Zhang Dian
0524c9e16e Merge pull request #718 from irihitech/anchor
New Control: Anchor
2025-07-10 20:51:35 +08:00
Zhang Dian
3ae76efd45 feat: update AnchorItem Padding Converter. 2025-07-10 19:55:34 +08:00
Zhang Dian
b304d585bd feat: enhance Anchor styles. 2025-07-10 19:07:59 +08:00
Dong Bin
55c3941c3d fix: fix ip box focus handling and styles. fix multicombobox focus style. 2025-07-10 16:59:31 +08:00
Dong Bin
5ee0dfd638 Revert "feat: add ime fix in new version."
This reverts commit 26ff55cebd.
2025-07-10 14:53:25 +08:00
Dong Bin
d360ca9ef0 feat: rename AnchorId to Id and add TopOffset property. Add headless tests. 2025-07-10 11:21:47 +08:00
Dong Bin
8755209fa4 feat: Clamp thickness.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-08 15:27:41 +08:00
Dong Bin
83e3756555 feat: dispose cts. 2025-07-08 15:24:36 +08:00
Dong Bin
0323a873d5 feat: add generic constraint to fix null reference issue. 2025-07-08 15:18:41 +08:00
Dong Bin
e8dff305aa fix: fix caller code. 2025-07-08 15:14:41 +08:00
Dong Bin
4f70744dd1 feat: update per naming convention
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-08 15:12:32 +08:00
Dong Bin
a0554d7add feat: update per review. 2025-07-08 15:11:38 +08:00
Dong Bin
85016c9e37 feat: add inheritance. 2025-07-08 14:59:15 +08:00
Dong Bin
fb799636d9 feat: update selection handling, fix initial offset calculation. 2025-07-08 13:36:11 +08:00
Dong Bin
26ff55cebd feat: add ime fix in new version. 2025-07-07 15:35:21 +08:00