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

**### 希望添加一种ToggleButton的样式,效果如下图所示:** **1、IsChecked为False时:** ![Image](https://github.com/user-attachments/assets/d8fb6101-f1d6-4840-aff6-a571bde6829b) **2、IsChecked为True时:** ![Image](https://github.com/user-attachments/assets/687e2a89-46a2-44f6-bce6-ac87d84d7b5a) **补充需求:** 1、ToggleButton的Content文字内容一定是在两个Thumb的中间 2、当未指定ToggleButton的Width属性时,ToggleButton的宽度会随着Content文字内容长度而自动变化 3、可以手动修改Width和Height属性,实现修改ToggleButton的大小,且IsChecked为True时的背景色占满整个Width宽度,而不是下面存在的问题 ![Image](https://github.com/user-attachments/assets/6f580098-68ee-4ed1-9c76-92928e7b8880)

### Feature request type sample request ### Is your feature request related to a problem? Please describe 目前DataGrid选中 几行后,点击右键弹出菜单后,选中行的颜色消失了,看不出选中了哪些行。 ### Describe the solution you'd like 目前DataGrid选中 几行后,点击右键弹出菜单后,选中行的颜色消失了,看不出选中了哪些行。 能否保持选中行的颜色不消失。 ![Image](https://github.com/user-attachments/assets/848e4f36-a6d0-4536-b3bc-05d8d213b075) 选中行好像是有颜色,能否改成明显一点的。...

### Describe the bug hc:TabItem的DataTemplate 绑定的数据的表现形式是OneTime,无论Binding的Mode设置成什么值 以下是完整代码 ` ` ### Steps to reproduce the bug ` ` 这段代码 Text的值绑定到Title,无论Mode设置为什么值,这个绑定只生效了一次,后续修改Title的值时Text无法同步变化 且用户在TextBox中输入值时 Title的实际值跟着改变了,但是TextBox的Text依然没有变化,而且输入一次后整个TextBox卡死,无法再次输入 ### Expected behavior _No response_ ### Screenshots _No response_...

### Describe the bug 使用HandyControl时,渲染markdown文本出现了预览框和预览滑块,不符合预期,markdown文本使用markdig:MarkdownViewer渲染 ![Image](https://github.com/user-attachments/assets/11b43967-53c6-4663-8ad4-90c74b8af382) wpf的默认是这样的 ![Image](https://github.com/user-attachments/assets/52e396c1-f58c-4eeb-b661-f04f53a37080) 怎么处理 ### Steps to reproduce the bug 1、使用HandyControl全局定义 2、 ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet package version...

![Image](https://github.com/user-attachments/assets/5902c2f0-a92e-4ec8-9c05-bc632de6e8db) 我特地设置了ContextMenu和MenuItem的背景色用来区分 ![Image](https://github.com/user-attachments/assets/2b817f7a-d4ae-4911-b760-0653dae15506)

### Describe the bug HandyControl的组件为什么有阴影? 如何去掉 ### Steps to reproduce the bug HandyControl的组件为什么有阴影? 如何去掉 ### Expected behavior HandyControl的组件为什么有阴影? 如何去掉 ### Screenshots HandyControl的组件为什么有阴影? 如何去掉 ### NuGet package version None ### IDE...

### Feature request type enhancement ### Is your feature request related to a problem? Please describe 有时,我希望用户点击页码/跳转才触发 PageUpdated 事件,比如我的程序支持类似浏览器一样的前进、后退操作,当前进、后退时,页面的数据被还原,但由于PageIndex 发生改变,导致 PageUpdated 事件再次被调用,这是不必要的事件响应, ### Describe the solution you'd like 可以新增一个 Command...

When the item is checked, the bool attribute specified in the data source should be automatically updated ### Describe the solution you'd like ```CS public class Data(string Title, bool IsChecked);...

### Describe the bug CheckComboBox多选框使用hc:ListBoxAttach.SelectedItems绑定选择项,会报警告找不到源: RelativeSource FindAncestor, AncestorType='HandyControl.Controls.TagContainer', AncestorLevel='1'。且绑定选择的内容可以通过后端更新,通过界面修改后传递过来的值就是null的了 ### Steps to reproduce the bug ### Expected behavior _No response_ ### Screenshots _No response_ ### NuGet package version None ###...

### Describe the bug hc:InfoElement.Title and hc:TitleElement.Title (for input controls such as hc:TextBox, hc:ComboBox, hc:NumericUpDown, hc:DateTimePicker, etc...) when set to use {Binding Converter}, Fails to associate Validation Error Messages correctly....