杨劼
7145201077
增强 OverlayDialog 和 NumPad 的功能与交互体验
...
新增 OverlayDialogOptions.OnDialogControlClosed 委托属性,
支持自定义对话框关闭事件处理逻辑,并在 OverlayDialog 中
添加了相关事件绑定与解绑逻辑。
调整 NumPad 的显示与交互逻辑,确保在数字键盘关闭后,
目标输入控件能够重新获取焦点,优化用户体验。
2025-09-16 14:04:34 +08:00
Dong Bin
7f118d7b1c
Merge pull request #770 from yangjieshao/main
...
一些零碎的代码整理
2025-09-16 13:56:05 +08:00
Dong Bin
88a295275c
Update src/Ursa/Controls/ElasticWrapPanel.cs
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-16 13:20:29 +08:00
杨劼
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
rabbitism
13008225c0
test: add basic unit test, fix a search text issue.
2025-09-15 15:59:25 +08:00
rabbitism
1a9f2e9945
feat: cleanup code. add missing template parts.
2025-09-15 10:05:16 +08:00
rabbitism
214f86bb82
misc: format code.
2025-09-15 09:38:10 +08:00
rabbitism
ab8927d261
feat: add key down handling to MultiAutoCompleteBox for item removal on empty text
2025-09-14 22:09:48 +08:00
rabbitism
609607f68a
feat: replace ItemsControl with MultiComboBoxSelectedItemList and add Remove command for selected items
2025-09-14 21:47:31 +08:00
rabbitism
298cc5db8b
feat: add CornerRadius property to MultiAutoCompleteBox and improve focus handling logic
2025-09-14 19:20:16 +08:00
rabbitism
3b4ad2bccc
feat: implement MultiAutoCompleteSelectionAdapter for enhanced selection handling
2025-09-14 18:43:21 +08:00
rabbitism
4f93801e77
feat: working on selection. add a demo to AutoCompleteBoxDemo to show the keyboard navigation actually changed selection.
2025-09-14 10:57:37 +08:00
rabbitism
8ec815c885
feat: improve demo. make textbox interactive.
2025-09-14 10:39:05 +08:00
rabbitism
9f71b5f382
feat: add demo page.
2025-09-14 10:00:23 +08:00
rabbitism
452e118644
WIP: start to implement template.
2025-09-12 16:28:15 +08:00
rabbitism
5470fe3e5f
fix: update CornerRadius bindings in DateRangePicker for better template support
2025-09-12 08:20:39 +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
fa7891297b
feat: implement SelectedItems property in MultiAutoCompleteBox and remove SelectedItem property
2025-09-05 00:01:12 +08:00
Dong Bin
9cee8d9341
feat: bring code from Avalonia to Ursa.
2025-09-03 22:50:32 +08:00
Dong Bin
7e35b880bb
Merge pull request #759 from irihitech/tag-panel
...
New Panel: Wrap panel with a trailing item
2025-09-03 21:37:18 +08:00
Dong Bin
b6b8453cc4
chore: remove pull_request_target from CI configuration
2025-09-03 21:22:34 +08:00
Dong Bin
8147a05b5c
feat: add TrailingWrapWidth.
2025-09-03 21:18:56 +08:00
Dong Bin
9ee89b7ce5
test: fix measure test.
2025-09-03 21:12:20 +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
891228cdb1
test: improve coverage report. ( #751 )
2025-09-03 18:15:59 +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
Dong Bin
d7794c4280
Merge pull request #750 from Soar360/pagination
...
更新 Pagination.cs 中 CurrentPage 属性注册
2025-08-19 12:28:58 +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
ff3020223c
cleaner demo
2025-08-18 15:14:56 -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
Dong Bin
88318336a4
test: add publish result back. ( #743 )
2025-08-06 11:57:51 +08:00