I have a button in wpf which is in disabled state,I am trying Drag and Drop, but drag is not getting initiated for that disabled button.How can we drag the button in disabled state.
Related
I'm creating an application and I need to disable the right mouse click and the control +u of the whole application.
How can I make a component to disable control+u and right mouse button in every application?
I need to set the Hamburger Button to Focusable and TabStop, any idea?
I have a WPF app where I make my screen dark and show the user a popup for him to fill in some data.
One of the controls hosted in that popup might raise a modal window asking the user to confirm some validation results, when that modal is raised it doesn't show because the popup takes precedence in the UI.
Is there a way to force the modal be shown over the popup?
Can anybody tell me how I can open popup by clicking only on Toggle button. Usually, combobox opens popup when you click anywhere. In our project we need to open popup only when user clicks on Toggle button. It's kinda urgent.
One approach would be to create a custom control. This would give you more control over all the parts that make up your combobox. http://blogs.msdn.com/b/sburke/archive/2008/03/22/tutorial-writing-a-templated-silverlight-2-control.aspx
I have an ElementHost object in a WinForm dialog.
This elementhosts child is a Popup.
I want to hide or close the Popup when the user clicks anywhere. I can do it when the click happened in the Popup. How to close it when the user clicks outside the popup, on a WinForm control?
Did you try StaysOpen=false?