Jun
20th | 2008
How would you like your WPF application to have a Context Menu like this:
Well, It is not so hard. Here is how you do it:
Continue Reading...
How would you like your WPF application to have a Context Menu like this:
Well, It is not so hard. Here is how you do it:
Last week I was faced with a problem. I needed to implement a MouseDoubleClick Event on a WPF Grid. I said Ha, easy but as i went on to implement it i realized that the Grid has no MouseDoubleClick Event! So how am I supposed to implement it? I came up with 2 solutions and so here goes:
<UserControl x:Class=”CustomDoubleClick.GridWrapper” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” Height=”300″ Width=”300″> <Grid> </Grid> </UserControl>