Created
May 13, 2015 08:40
-
-
Save yoshikazuendo/e56aa81d17165ce84ff1 to your computer and use it in GitHub Desktop.
Using a MouseDoubleClick event where none exists Reference Site:http://blogs.microsoft.co.il/pavely/2011/08/03/wpf-tip-using-a-mousedoubleclick-event-where-none-exists/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- ContentControlで囲って、MouseDoubleClickを宣言する。 --> | |
| <ContentControl MouseDoubleClick="OnDoubleClick"> | |
| <Border Margin="10" BorderBrush="Black" BorderThickness="2"> | |
| <Grid Margin="4"> | |
| <Rectangle Fill="Red" /> | |
| <TextBlock Text="Hello" FontSize="15" /> | |
| </Grid> | |
| </Border> | |
| </ContentControl> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment