HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

Contains some simple and commonly used WPF controls

Results 312 HandyControl issues
Sort by recently updated
recently updated
newest added

值得一提的是,下图中的 before 一侧,文本框的边框变得几乎不可见了,这是由于同时设置了父元素 `root` 和子元素 `border` 的 `opacity` 为 `0.4` 导致的,这使得 `border` 的 `opacity` 变为 `0.16` (0.4*0.4). https://github.com/HandyOrg/HandyControl/blob/4146ee523eada5aa514b270c46c0f197211522a8/src/Shared/HandyControl_Shared/Themes/Styles/Base/TextBoxBaseStyle.xaml#L139-L154 ![image](https://github.com/HandyOrg/HandyControl/assets/4510984/d8d29917-5579-46ac-a905-93d1a8d39025)

Since the `Theme.xaml` will auto generate before build, so it's not necessary.

### Test Code ```xaml ``` ![image](https://github.com/HandyOrg/HandyControl/assets/4510984/37b35f92-4033-4bb5-9659-4f32fccef162)

![image](https://github.com/HandyOrg/HandyControl/assets/4510984/c29965c0-accd-4c37-805d-a52b74ebdc6d)

### Describe the bug 这是3.5.1版本的异常错误提示效果: ![image](https://github.com/user-attachments/assets/dafcb47a-b184-4cea-9898-49e864b80baa) 这是老版本3.4.0的正常效果: ![image](https://github.com/user-attachments/assets/9db37a44-4f1b-4848-b2d8-cb9bd6b39ada) ### Steps to reproduce the bug 这是一个TextBox,定义如上,默认其错误提示文字应该是红色,实际如图是黑色 ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet package version None ###...

### Describe the bug ImageBrowser Show() 弹框关闭后,图片资源未释放,无法删除图片 ### Steps to reproduce the bug **1、代码中创建ImageBrowser对象,注册Closed事件,并弹框展示** string previewImageFullPath = “D:\tmp\imgPreView\test.jpg” ImageBrowser imageBrowser = new ImageBrowser(); imageBrowser.Closed += ImageBrowser_Closed; imageBrowser.Show(); **2、在Closed事件中删除第一步中预览的图片** if (File.Exists(previewImageFullPath...

### Describe the bug 1. 不能正确 Measure 大小 2. 布局在某些行为上与 WinUI3 不一致 3. 编写 XAML 时, 预览不会更新 明明是居中, 它却占满了整个宽度, 明明有内容, 却没有被撑起来 ![image](https://github.com/user-attachments/assets/edb64fb9-2e6b-4fd9-a167-89dc30107824) 同时指定靠左, 以及水平居中, 理论上它应该忽略其中一个设置, 但在这里, 它既不是在左边, 也不是在中间 ![image](https://github.com/user-attachments/assets/f82ec14f-bf65-4dcf-b49b-575497e72ae1) ###...