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 我的ItemSourece 绑定了数据后,选中的数据在右侧后没办法绑定已经选择的内容. 我看可以在非MVVM下情况下在Xaml.cs 里面实现,但是这并不是我希望的. ### Describe the solution you'd like 我希望可以在ViewModel 中绑定我关联的变量, 看到我已经选中的内容....
### Describe the bug 经过我一段时间的排查,发现只要是使用了ListBox、Combobox、DataGrid控件的界面,跳转到这些界面的时候就会报这个异常,我尝试把这些控件通过Style={x:Null}屏蔽掉HandyControl的全局默认样式之后,异常就不会再出现了。 另外,我尝试新建了一个.NET 8.0的测试项目,引用了HandyControl,并且在测试的界面中添加了ListBox、Combobox、DataGrid控件,发现一切正常,没有出现上面提到的异常。这是什么原因?我该如何解决这个问题? ### Steps to reproduce the bug 我的程序就是,点击主界面的某一个按钮,跳转到相应的子界面,然后就出现异常了 ### Expected behavior _No response_ ### Screenshots ![Snipaste_2023-12-28_14-01-28](https://github.com/HandyOrg/HandyControl/assets/3355292/f77d4ad0-92dc-4f5b-bbf3-1f82515993f0) ### NuGet package version None ### IDE Visual...
### Feature request type sample request ### Is your feature request related to a problem? Please describe 子类属性不能直接绑定,能否支持和winform一样的 TypeConverter 转换 ### Describe the solution you'd like PropertyItem 增加Children属性。展开显示子项 ### Describe...
### Feature request type sample request ### Is your feature request related to a problem? Please describe 请求给PropertyGrid控件新增文件选择类型,具体表现类似: 有个文本框和选择按钮,点击后弹出文件/文件夹选择框,选择后文件路径显示在文本框里。 ### Describe the solution you'd like 看到官方文档有自定义方式,但是不会弄。如果做成标准就很好。https://handyorg.github.io/handycontrol/extend_controls/propertyGrid/ ### Describe alternatives you've...
### Describe the bug 移动鼠标指针到 `hc:TextBox` 的边缘(靠近 Clear 按钮处),发现 ClearButton 快速闪烁。 这个问题有些控件可以通过设置 `UseLayoutRounding=False` 来解决,但是这个方法对 `hc:TextBox` 无效。 ![动画](https://github.com/HandyOrg/HandyControl/assets/7220248/ab302d38-491a-4ce4-a19b-d6044c2788c0) ### 更新 我发现官方 Demo 也会有这个问题。 ![动画2](https://github.com/HandyOrg/HandyControl/assets/7220248/29037bf7-d162-4b7d-9963-4a1805763e5f) ### Steps to reproduce the bug ```xaml...
### Describe the bug DropDown of combobox opens and closes automatically, even without making a selection, it stays open until mouse is pressed, as soon as mouse is lifted, the...
### Describe the bug hc:TitleElement.MarginOnTheTop not found. ### Steps to reproduce the bug 重写 `TextBoxPlusTopTemplate` 样式时,发现缺少 `hc:TitleElement.MarginOnTheTop` 属性,但我看 GitHub 代码库中是存在的. ### Expected behavior _No response_ ### Screenshots _No response_ ###...
### Describe the bug When set `hc:WindowAttach.ExtendContentToNonClientArea="True"`, the non-client area cover the client content. ![image](https://github.com/HandyOrg/HandyControl/assets/4510984/8e94565b-bf05-42cf-8d08-399f27ca635a) ### Steps to reproduce the bug Code for reproduce: ```cs ``` ### Expected behavior _No...
#1492 - 修复文本内容无法双向绑定 - 优化自动完成逻辑 (通过ItemCollection.Filter实现) - 增加虚拟化
### Describe the bug 模板内部的 PART_SearchTextBox 文本框没有绑定 Text={TemplateBinding Text} 而是通过TextChanged 事件来通知控件文本发生改变 因此设置控件的 Text属性是无效的 ### Steps to reproduce the bug ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet...