HandyControl
HandyControl copied to clipboard
Contains some simple and commonly used WPF controls
### Describe the bug 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' (Name=''); target property is 'Padding'...
### Describe the bug VS .NET 4.5 4.6环境 ,V3.4.0版本、最新master分支代码,生成选择x86环境运行代码报错: 对 PInvoke 函数“HandyControl!HandyControl.Tools.Interop.InteropMethods::GetWindowPlacement”的调用导致堆栈不对称。原因可能是托管的 PInvoke 签名与非托管的目标签名不匹配。请检查 PInvoke 签名的调用约定和参数与非托管的目标签名是否匹配。 VS .NET6环境运行没有上述问题,master分支看记录有解决这个问题,似乎没有彻底解决。请作者再看看~ ### Steps to reproduce the bug VS .NET 4.5 4.6环境 ,V3.4.0版本、最新master分支代码,生成选择x86环境运行代码报错: ###...
当 PropertiGrid 的 SelectedObject 继承自 ICustomTypeDescriptor 时,TypeDescriptor.GetProperties 的参数应该为对象而不是对象的类型,才能使用 ICustomTypeDescriptor 的接口函数来自定义显示的属性
### Describe the bug TabControl中的页签已经设置了隐藏关闭按钮,但是右键关闭,还是会关闭 ### Steps to reproduce the bug TabControl中的页签已经设置了隐藏关闭按钮,但是右键关闭,还是会关闭 ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet package version None ### IDE _No response_...
### Describe the bug CreateMessageBox,在Owner设定为null的情况下,会自动获取一个当前进程的窗口作为Owner, 造成了WindowStartLocation不能处于屏幕中心。 ![image](https://github.com/HandyOrg/HandyControl/assets/1972649/181b485f-5580-4d19-88e4-440b8b9a74b1) [代码位置](https://github.com/HandyOrg/HandyControl/blob/cb660054792ba9a3d9a660ec9a2deac75f321513/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs#L453) ### Steps to reproduce the bug ~ ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet package version None ###...
**描述** 我想要实现类似[花瓣网](https://huaban.com/discovery)的图片瀑布流。当用户向下翻滚的时候,会追加新的图片。 **问题** 当WaterfallPanel拥有过多项的时候,显示和刷新的速度就会变慢。我希望WaterfallPanel能够支持虚拟化:当用户向下或者向前滚动的时候,回收未显示的项。
### Describe the bug 从3.3升级到3.4以后,只能点击右侧的按钮才能展开下拉框。 ![image](https://github.com/HandyOrg/HandyControl/assets/1972649/c6750c2d-8f2f-4f4b-a88c-7587d1cb4b41) ### Steps to reproduce the bug ~ ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet package version HandyControl 3.4.0 ### IDE...
我在尝试使用prism框架进行Region导航到tab,但是换成HandyControl的TabControl控件后无从下手,不知道如何如何使用prism框架进行mvvm模式绑定TabControl的视图数据。
### Describe the bug Button 布局 - 全部填充模式 失效 ``` ``` ### Steps to reproduce the bug 1、未使用组件时 ![image](https://github.com/HandyOrg/HandyControl/assets/61639203/07ac2876-f4d8-4cec-a5e5-bb2fb32803b7) ![image](https://github.com/HandyOrg/HandyControl/assets/61639203/6a773f6d-35b7-465b-b018-cc46ae7ab235) 2、使用组件时 ![image](https://github.com/HandyOrg/HandyControl/assets/61639203/437d3e9a-df7c-4fe2-886a-2243eb6d850d) ![image](https://github.com/HandyOrg/HandyControl/assets/61639203/2f19f688-652f-4db8-bfa4-13b29d5afbfb) ### Expected behavior _No response_ ### Screenshots...