Questions tagged [mouseleftbuttonup]
15 questions
18
votes
3 answers
WPF MouseLeftButtonUp Not Firing
When I use the MouseUp event, I can get it to fire with a mouse right-click. But MouseLeftButtonUp won't fire with either click!

Adam Driscoll
- 9,395
- 9
- 61
- 104
4
votes
3 answers
How to get the clicked object from a MouseLeftButtonUp event registered on a parent container?
I have ellipses drawn on top of a canvas, I've registered a MouseLeftButtonUp on the Canvas, and I and want to get what ellipse was clicked using:
(Ellipse)e.Source
But e.Source is always the canvas, I also tried e.OriginalSource and also did the…

mihajlv
- 2,275
- 4
- 36
- 59
3
votes
2 answers
Is there any way to find out mouse left button up event outside of an element in wpf?
I will define an event for my border element that relize mouse left button up outside of this element.

vmahdavi
- 399
- 1
- 4
- 9
3
votes
4 answers
Silverlight event MouseLeftButtonDown not fired
I ran into the problem where in Silverlight event MouseLeftButtonDown is not being fired for Button and hyperlinkButton. Looks like it is handled somewhere in the framework. How I can override this behavior
In the XAML code below When I click on the…

Raj
- 636
- 1
- 8
- 12
1
vote
1 answer
WPF TouchUp Event Strange behaivor
My WPF app functions perfectly, but only when using a mouse. Troubles start when using it on a device with a touch screen..
I have a grid that handles MouseLeftButtonUp and TouchUp events.
Now, I press on the grid, it handles related events, then I…

user3751451
- 33
- 4
0
votes
1 answer
MouseLeftButtonUp Error
A few days ago I accidently did a replace on the Entire Solution - I was replace a MouseLEftButtonUp by _Tap. Now, even though I am doing a Tap event on an image in Windows Phone, I get the following error:
Failed to assign to property…

Subby
- 3
- 2
0
votes
2 answers
Silverlight : MouseLeftButtonUp is not triggered
I'm new to Silverlight and I'm working on drawing a rectangle on the screen in the run time,
I have a class ( SelectionBox ), and on the main page, I have a canvas,
when clicking on that Canvas I have the following function called
private void…

Zero
- 118
- 3
- 14
0
votes
1 answer
Prevent MouseLeftButtonUp fire when releasing "Hold"?
I have a ListBox that contains the users favorite stuff. When you click(MouseLeftButtonUp) on an item in the list, you will navigate to "detailspage". If you hold down the listitem it will be deleted. This is performed by the "Hold" event
The…

larchii
- 176
- 1
- 1
- 10
0
votes
0 answers
Why does the event "MouseLeftButtonUp" not work or get triggered most of the time?
For simplifying the problem, I created a simple code snippet with the same problem:

Medo Dex
- 1
0
votes
0 answers
WPF "button" that allows MouseLeftButtonDown and MouseLeftButtonUp events to fire
I'm trying to figure out a way to simply have a user control that has the same functionalities of a "button" but doesn't prevent the "MouseLeftButtonDown" and "MouseLeftButtonUp" to bubble up.
For my specific application, I cannot solve it with any…

piter123
- 61
- 1
- 3
0
votes
0 answers
TreeViewItem MouseLeftButtonUp event fired from parent instead of leaf
GOAL: I am trying to expand my treeview items using a single click. I need to access the DataContext of selected node and set the property for expanding/collapsing.
What I have tried
I have put EventSetter on TreeViewItem for MouseLeftButtonUp…

Piyush Parashar
- 866
- 8
- 20
0
votes
1 answer
MouseLeftButtonUp : exactly fire condition?
I have got some Rectangles, what I'm trying to implement is:
user touch the screen, he could slide between Rectangles. then his finger Lift off, and the last touched rectangle is selected.
(Lift off outside rectangle will trigger nothing)
Just like…

Yinthewind
- 55
- 1
- 6
0
votes
1 answer
MouseLeftButtonUp is not triggered on the RadGridView Rows
I am using telerik RadGridView to show datas. And I want to achieve double click the row and open it. I achieved this on DataGrid before with MouseLeftButtonUp event. But in RadGridView it is not triggered on the rows area, but triggered except the…

Hank
- 31
- 1
- 3
0
votes
1 answer
MouseLeftButtonUp does not fire all the time in WP7
In my app there is a canvas with a small image (not taking up entire space of canvas).
when user clicks on image and drags inside the canvas, it traces the path with a black line. Till here everything works. Now, I want the path to be deleted as…

John Watson
- 869
- 3
- 16
- 32
-1
votes
1 answer
WPF: how to bind m object property from MouseLeftButtonUp event in my listview item click
So I have this object:
public class Test : INotifyPropertyChanged
{
public string Name { get; set; }
private bool isSelected;
public bool IsSelected
{
get { return isSelected; }
set
…

Dana Yeger
- 617
- 3
- 9
- 26