DataTemplate 中的 Silverlight 组合框首次单击时打开
我的网格上的数据模板中有一个组合框,我想在第一次单击时打开它,但似乎首先选择了该行。我尝试更改 isDropDown 在 rowchange 上打开,但由于某种原因它不起作用。我还尝试从 PreparingCellForEdit 打开下拉菜单,但从未被触发。有什么建议吗?
I've got a combobox in a datatemplate on my grid, I would like to open it on the first click but it seems that the row is selected first. I have tried changing the isDropDown open on rowchange but for some reason it's not working. I have also tried opening the dropdown from PreparingCellForEdit but that was never fired. Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没关系,我正在触发一个 datgrid 事件,该事件从后面的代码中调用故事板,我将假设由于焦点或某些原因关闭了组合框。抱歉,导致关闭的不是故事板,而是 BusyIndicator
nevermind, I was triggering a datgrid event which called a storyboard from code behind which I am going to assume because of focus or something closed the combobox. Sorry, it wasn't the storyboard but the BusyIndicator that caused the close