HandyControl
HandyControl copied to clipboard
Contains some simple and commonly used WPF controls
### Feature request type sample request ### Is your feature request related to a problem? Please describe 1、默认字体大小可动态绑定 2、默认控件高度可动态绑定 ### Describe the solution you'd like 在高分辨率情况下,默认的字体和控件显得太小巧了,能在外界资源进行动态绑定替换字体大小以及控件默认高度 ### Describe alternatives you've...
### Describe the bug nuget版本: 3.5.1 Framework type: .net8 错误提示:System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.Primitives.MenuBase', AncestorLevel='1''. BindingExpression:Path=(0); DataItem=null; target element is 'MenuItem'...
### Feature request type enhancement ### Is your feature request related to a problem? Please describe 如题:SideMenu 支不支持把某个SideMenuItem放到底下? 还有就是切换菜单的时候没有UI,能不能整出个类似于[隔壁](https://github.com/lepoco/wpfui)的这种点击某个项目左侧那个竖条会有点动态的。 ![image](https://github.com/HandyOrg/HandyControl/assets/113082249/2f9f65b9-070a-44fb-bf8b-283efa050584) ### Describe the solution you'd like ![image](https://github.com/HandyOrg/HandyControl/assets/113082249/5dfee539-198d-493f-908a-23acd0d0356f) 类似于: ``` ```...
Automated PR to fix formatting errors
### Describe the bug 如果手动键盘修改datetimepicker的值,没有让它失去焦点然后就执行保存的时候,值没有更新到绑定源中 类似这样的绑定,就有问题 ### Steps to reproduce the bug 如果手动键盘修改datetimepicker的值,没有让它失去焦点然后就执行保存的时候,值没有更新到绑定源中 类似这样的绑定,就有问题 ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet package version None ### IDE...
Fixed a bug where setting TabIndex logical focus in passwordBox would not work
这是我找到的更加稳定的辅助方法,在原有的稳定全屏基础上,添加 [ITaskbarList2::MarkFullscreenWindow](https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-itaskbarlist2-markfullscreenwindow) 的调用,可以进一步解决任务栏弹出的问题 详细请看: [WPF 稳定的全屏化窗口方法](https://blog.lindexi.com/post/WPF-%E7%A8%B3%E5%AE%9A%E7%9A%84%E5%85%A8%E5%B1%8F%E5%8C%96%E7%AA%97%E5%8F%A3%E6%96%B9%E6%B3%95.html ) 例子: https://github.com/lindexi/lindexi_gd/tree/46e400d9d4601730c1f5c974ea568416453fe48d/KenafearcuweYemjecahee
### Describe the bug hc: The Carousel ItemsSource originally had multiple data sets, and the data whose set index is not 0 is displayed. When the ItemsSource collection changes, the...
### Before You must click the dropdown button icon to popup. ![HandyControlDemo_jCNrD5BuEL](https://github.com/HandyOrg/HandyControl/assets/4510984/8bf90738-aaf5-4c49-8068-19fff2c8ff18) ### After You can click the whole element to popup. ![HandyControlDemo_aS4bSAON7Y](https://github.com/HandyOrg/HandyControl/assets/4510984/19f5b5b8-3a03-4177-817c-c54d0f9da1c1)
### `InfoElement.ClearButtonInvisibleByHidden="False" (default value)` ![JJXsCcpF95](https://github.com/HandyOrg/HandyControl/assets/4510984/a6db6580-738f-4999-ad85-8884ce53cae1) ### `InfoElement.ClearButtonInvisibleByHidden="True"` ![3IqkPCgOAS](https://github.com/HandyOrg/HandyControl/assets/4510984/bc357b86-42c2-4781-a6ef-0d3a63abf8ee) 可能你会觉得这个属性似乎没太大的必要,为元素(在这个例子中是 `hc:TextBox`)设置一个 `MinWidth` 不就解决了边框大小变化的问题了?或者 `HorizontalAlignment` 设为 `Stretch`。考虑下如果在多语言支持的程序环境下,不同语言的 `Placeholder` 长度差异可能非常大,为每个语言单独设置不同的 `MinWidth` 非常麻烦,粗暴地设置 `Stretch` 可能会导致 `TextBox` 变得非常宽。同时,除去 `Placeholder` 以后留空一大片空白影响美观。 另一个有必要的场景如下: ```xaml ... ... ```...