In the fiddle mentioned below, when I scrolls the combobox down and then tries to drag the scroll bar up, I am not able to click the Select All button. This happens in internet explorer.
https://fiddle.sencha.com/#view/editor&fiddle/1kn2
Related
I am unable to drop in ListViewItem when auto scroll occurs in list view in UWP app.
I am able to drag and drop to the end and top but not to the middle.
Unable to drop in the positions where auto scrolling ocures.
Can anyone please help?
ListBox doesn't have CanReorderItems property, so I think you are using ListView. When you drag the item to the edge of the ListView, it do will auto scroll. But it doesn't scroll to the end of the list as you described, it can be controlled by your operation. Drag the item back the scroll viewer will stop scroll and you can drop the item to the place auto scrolling occurs as following picture shows.
i have a problem when i add event trigger to a grid. I want when right mouse is clicked anywhere on a grid a menu to pop up, the problem is when i click somewhere in the grid where there is a stack panel for example the menu doesn't pop up. Any ideas?
I have a wondows form which contains a WPF control as well. When I click on the control it brings up a WPF popup control with a listbox. The goal is, when I select an item on the listbox, the windows form will be repopulated accordingly and the popup should get closed. The current implementation with SelectionChanged on the listbox works fine.
Here is the problem. The popup is big and covers some portion of the winform which contains some links. Now, when I select an item on the listbox, the popup closes after doing necessary actions, but if there is a link just below the popup (on the winform) that is under the cursor (when you selected the item on the listbox), that link is also taking the click event.
Is there any way to prevent the links getting clicked when I click on the popup? I have to close the popup though.
I think I figured this out.
SelectionChanged gets executed when we press the mouse key down and before we lift it.(Mouse key up). The popup gets closed in SelectionChanged before we lift the Mouse key. So, when we leave the mouse key, the keyUp event actually gets fired for a link on the Winform as the popup has been closed by now.
I moved the logic from SelectionChanged to PreviewMouseUp and the popup stays till I leave the mouse key and therefore the links on the Winform do not get the event. Of course, I check whether the selection has been changed or not.
I'm programming an application that loads a list of rows in a grid using WPF, DevExpress with an MVVM approach.
I have a button that adds an new element to a ListRow, which is binded to GridControl's ItemSource. This list notifies the view when it's modified.
The problem is that when you click NewRow button the scroll bar grows bigger with each click but only when you click in the scroll bar the content of the list is repainted in the window.
Does anyone have any idea? Why is this happening?
PS: I didn't write here any code because I think is needless to show such a long code. But I can put it if you want.
I want to make a control which will work like the tab header in Visual Studio 2010.
When you have a few tabs open (MainWindow.xaml, MainWindow.xaml.cs, etc.) only the active tab has a close button visible, but when you hover the mouse over an inactive tab the close button appears, which means you can close any tab with one click.
It probably will be a border with text under the floated buttons.
All WPF controls are containers, you can put a button inside a button for example. You can have a layout manager to a control with the items you want in it.
For what you are asking about you could have a user control that has a TextArea and a Button in a StackPanel. Then hide the button. You then have the user control register for its MouseEnter and MouseLeave events and when the mouse is over you make the button visible, and when it leaves you hide it again.