HandyControl
HandyControl copied to clipboard
Contains some simple and commonly used WPF controls
值得一提的是,下图中的 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)