问题描述
我有以下代码,垂直滚动适用于此代码,而水平滚动则无效.我已经安装了MahApps,并试图不必为DataGrid编写更复杂的ControlTemplate.我在ColumnHeaders上方放了一排细线 进行水平滚动,但是当鼠标悬停在RepeatButtons上时,什么也没发生. I have the following code for which the vertical scrolling works, but the horizontal scrolling does not. I have installed MahApps and am trying not to have to write a more complex ControlTemplate for the DataGrid. I put a thin row above the ColumnHeaders for the horizontal scrolling, but when the mouse hovers over the RepeatButtons, nothing happens. 推荐答案由于MahApps是该论坛支持范围之外的第三方消息来源,如果您的问题与MahApps有关,建议您在以下位置提出问题: https://stackoverflow.com/questions/tagged/mahapps.metro Since the MahApps is the third party source who is outside of this forum scope of support, If your question related to the MahApps .I suggest you ask question at :https://stackoverflow.com/questions/tagged/mahapps.metro 如果您不是关于MahApps的问题,建议您将演示文件上传到OneDrive(包括测试材料).我们可以下载并调试.这将帮助我们快速分析您的问题. If your question is not about MahApps , I suggest you can upload your demo to OneDrive(Including your test material). We can download it and debugging. This will help us quickly analyze your problem. 最好的问候, 这篇关于带有MahApps水平ScrollBar的DataGrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-28 19:05 |