Routed Event Question
Hi Jibrohni,If you have got what you need?Best regards,Sheldon _Xiao[MSFT] MSDN Community Support | Feedback to us Microsoft Please remember to mark the replies as answers if they help and unmark them...
View ArticleRouted Event Question
I think the problem I was getting was down to a control I was referencing that was gobbling up some of the mouse events. I achieved it in the end like so:/// <summary> /// Interaction logic for...
View ArticleRouted Event Question
I'm just re-installing VS as I'm getting horrible App.g.cs problems telling me the file was editted elsewhere. I'll hopefully get to post the working solution later.
View ArticleRouted Event Question
Hi Jibrohni,Yes, I am agree with ahish, you could use PreviewMouseDown event on your Grid, and then you could check the e.Source or e.OriginalSource value to know which control fires the click...
View ArticleRouted Event Question
Actually I take that back. Your code does seem to work - it's just I had some weird compilation error "the source file is different from when the module was built" which meant that it was using another...
View ArticleRouted Event Question
Thanks again, that still hasn't worked for me. I've achieved it by creating a user control in place of the grid. I've then used a custom routed event like so:public partial class PictureTile :...
View ArticleRouted Event Question
Here is the complete working copy in WPFCreate a application with name "WpfApplication27" and copy paste below codeXAML<Window x:Class="WpfApplication27.Window1"...
View ArticleRouted Event Question
I can't get that to work. Perhaps providing thee rest of the code may help:<pan:Panorama x:Name="panMainContent" Grid.Column="1" Grid.Row="1" Margin="0,30" Foreground="Black"...
View ArticleRouted Event Question
You should use PreviewMouseLeftButtonDown event on whole item.You can Try the below sample(I am sure you will find a idea ourself):Check the below underline code<Grid>...
View ArticleRouted Event Question
Hi all,Hopefully a simple one folks. I have the following Listbox ItemTemplate:<ListBox.ItemTemplate><DataTemplate><Grid Background="Transparent"...
View Article
More Pages to Explore .....