Commit Graph

691 Commits

Author SHA1 Message Date
Dong Bin
370c0d68dd Merge pull request #499 from irihitech/title
TitleBar improvement
2024-12-08 17:44:26 +08:00
Soar360
0c24c121a8 优化 PinCode 类
如果粘贴内容有效,则执行 `CompleteCommand` 并触发 `CompleteEvent` 事件。
2024-12-05 21:25:25 +08:00
rabbitism
017ac58b88 feat: add active pseudo class. dispose caption buttons on detach. 2024-12-02 20:55:12 +08:00
Dong Bin
e22fa2a618 Merge pull request #495 from irihitech/numeric
Fix numeric family focus issue.
2024-11-29 22:18:49 +08:00
rabbitism
d16b55981a fix: remove select all behavior. 2024-11-29 21:59:17 +08:00
rabbitism
0acc9c9f4d fix: fix various nullable issue. 2024-11-29 21:40:50 +08:00
rabbitism
5ae4992743 fix: fix numeric focus issue. 2024-11-29 21:30:50 +08:00
jyl
32c47d3ba7 fix error in Pagination.cs 2024-11-22 18:02:59 +08:00
rabbitism
8df275cc12 feat: use common separator. 2024-11-22 13:03:34 +08:00
rabbitism
868edb57b5 fix: revert collection expression. 2024-11-22 12:02:05 +08:00
Soar360
7a32a677a4 Fix #478 2024-11-19 11:41:08 +08:00
Zhang Dian
96905bb189 Merge pull request #482 from irihitech/form
Form Dynamic Generation
2024-11-15 23:15:24 +08:00
Dong Bin
8fe15b2a56 Merge pull request #480 from WCKYWCKF/new-control
Add a new control AspectRatioLayout
2024-11-15 02:08:39 +08:00
望尘空忧
06ba9af1d0 1.rename AspectRatioChangeAmbiguity to AspectRatioTolerance
2.CurrentAspectRatioModeProperty to DirectProperty.
3.Fix misspelling: Updata -> Update
4.IsUseAspectRatioRange to an internal CLR property.
2024-11-13 20:19:44 +08:00
望尘空忧
4bfaab3f3d Feature: Added a Range selection mode by aspect ratio value. 2024-11-13 19:14:12 +08:00
望尘空忧
60ba488219 fix:Go to AspectRatioLayout demo and go to another and go back, the demo will crash. 2024-11-13 06:14:08 +08:00
rabbitism
2bb79ef69f feat: support dynamic form group generation, add demo. 2024-11-13 02:24:21 +08:00
rabbitism
27a3e5fb41 feat: revert mask animation for dialog. 2024-11-13 00:34:21 +08:00
rabbitism
9b3be2d44e feat: add DialogFocusHint attached property. 2024-11-13 00:31:15 +08:00
望尘空忧
1151639635 Add a new control AspectRatioLayout 2024-11-12 23:58:41 +08:00
Dong Bin
b066a7d1c7 Merge pull request #465 from irihitech/issue-422
New Dialog/Drawer/MessageBox option: StyleClass
2024-11-11 23:46:53 +08:00
rabbitism
c57bf10511 feat: support multiple classes, improve unit tests. 2024-11-06 23:22:17 +08:00
Dong Bin
ff103b19a1 Merge pull request #469 from irihitech/pincode
PinCode support paste
2024-11-06 20:30:14 +08:00
rabbitism
186424b848 fix: fix warnings in test related code. 2024-11-06 18:44:49 +08:00
rabbitism
6ef0cf9e1c feat: support paste. 2024-11-06 14:38:39 +08:00
Easley
d58d9e9056 Accessibility suppport for MultiComboItem 2024-11-05 10:04:43 +08:00
rabbitism
ee707cd977 feat: add styleClass as an option to Dialogs. 2024-11-03 01:19:42 +08:00
rabbitism
1ca4a5a10a fix: fix breadcrumb insertion issue. 2024-11-01 12:02:18 +08:00
望尘空忧
93a19e73e6 Fixed: Closing a dialog returns TView to the user instead of occupying its parent. 2024-10-31 09:01:59 +08:00
Weihan Li
fe34105fe7 update compile condition 2024-10-27 09:57:30 +08:00
rabbitism
1991f52980 feat: simplify code with switch. 2024-10-22 22:18:55 +08:00
rabbitism
dd3cebe66f feat: fix various issue upon click or tab. 2024-10-21 22:39:36 +08:00
rabbitism
8bd1962b15 feat:
1. fix #427.
2. add headless test for this fix.
2024-10-08 20:58:40 +08:00
Dong Bin
2bce32ae97 Merge pull request #419 from irihitech/loading
Introducing background and foreground for LoadingContainer
2024-09-22 19:12:09 +08:00
LUJIAN2020
f57b882924 Update OverlayDialog.cs
DataContext repeated assignment
2024-09-22 10:56:59 +08:00
rabbitism
34811c6884 feat: fix loading animation issue. 2024-09-21 19:27:05 +08:00
rabbitism
054ab858b4 fix: fix loading type. 2024-09-20 23:04:26 +08:00
rabbitism
150ff5410a feat: introducing background and foreground setting for loading container. 2024-09-20 23:02:36 +08:00
rabbitism
f5c772679b feat: change resizer default direction. 2024-09-18 16:22:39 +08:00
rabbitism
381c90a7b7 fix: fix initial thumbs' visibility. 2024-09-18 15:42:32 +08:00
rabbitism
c712a9faa5 fix: fix northwest resizing. 2024-09-18 11:53:28 +08:00
rabbitism
dccb3c029c Refactor and optimize overlay dialog handling and resizing logic
- Remove unused `_moveDragging` variable in `OverlayFeedbackElement.cs`
- Rename private static animations to follow PascalCase in `OverlayDialogHost.Shared.cs`
- Simplify and streamline `ClickMaskToCloseDialog`, `OnPointerMoved`, `OnPointerPressed`, and `OnPointerReleased` methods in `OverlayDialogHost.Dialog.cs`
- Remove redundant null checks and streamline method calls in various files
- Optimize `_moveDragging` logic and pointer event handling in `DialogControlBase.cs`

This commit enhances readability, maintains consistency in naming conventions, and optimizes the code for better performance and clarity.
2024-09-18 02:37:17 +08:00
rabbitism
5799646488 Refactor and enhance overlay feedback handling
- Promote `_containerPanel` to a protected property for better accessibility
- Extract `CoerceDelta` method to centralize constraint logic
- Implement `AnchorAndUpdatePositionInfo` across dialog controls for consistent positioning behavior
- Adjust margin binding for `DialogResizer` to include parent border margin
- Simplify pointer movement calculations and conditional checks
2024-09-18 02:08:58 +08:00
rabbitism
219ead2172 Add CanResize property to drawers and dialogs with corresponding UI controls
This commit introduces a new `CanResize` property to `DrawerOptions`, `OverlayDialogOptions`, and their respective controls. It also adds UI resizing functionality through the `DialogResizer` control, with styles adjusted to support different drawer positions. Code formatting and organization have been improved for readability across modified files.
2024-09-17 23:06:00 +08:00
rabbitism
c512cb6e13 Add resize functionality and improve dialog controls
This commit introduces the ability to resize dialogs by adding `CanResize` properties to dialog options and control classes. It also refines dialog controls' behavior and layout, ensuring consistent resizing capabilities across different dialog types. Additionally, it enhances the overlay feedback element's positioning logic and updates the resizer's appearance and visibility handling.
2024-09-17 22:44:35 +08:00
rabbitism
a70f7205e9 feat: support dialog resize. 2024-09-17 21:10:54 +08:00
rabbitism
4964289159 feat: Resize activation now requires left mouse button press. 2024-09-17 17:14:51 +08:00
rabbitism
cd39edb5f1 feat: add window resizer for Ursa. 2024-09-16 13:31:25 +08:00
Dong Bin
927f4121b4 Merge pull request #401 from irihitech/dialog
Introduce IsTopLevel to OverlayDialogHost
2024-09-12 18:55:59 +08:00
Dong Bin
dc80d80337 Merge pull request #398 from irihitech/toast
New Control: Notification & Toast
2024-09-12 18:55:40 +08:00