RE: Event not bubbling up
Jerk no, condescending yes. It was nice of you to write a reductionist app on my behalf, but I never expect anyone to do that (unless they're bored, curious or very charitable). Well, wouldn't it be nice if everyone in this group had enough spare time to perform "due diligence" and write a test-harness app for every problem they encounter before posting a question about it? Greg Keogh ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
Re: Event not bubbling up
This might come off as me sounding like a jerk, but if you haven't reduced the problem to it's simplest possible essence (outside of your current project) then you haven't really done the due diligence in solving the problem yourself. In order for someone to help you they would probably need to create a simple themselves. FWIW I tried to repro your problem myself and couldn't, leading me to speculate that you're probably doing something weird that is causing this. Joseph On Wed, Dec 8, 2010 at 1:26 PM, Greg Keogh wrote: > Can you post a simple repro? > > > > No time, as the problem is buried deep inside a gigantic mess of controls > and infrastructure. As a workaround I manually raised an event on the click > for the parent to listen to. Now I have other stuff-ups to fix and I’ll > return to bubbling later. > > > > Greg > > ___ > ozsilverlight mailing list > ozsilverlight@ozsilverlight.com > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight > > ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
Re: Metro Icons in xaml
http://www.freevectorsdaily.com/scalable-vector-pictograms/ more metro style vector .ai format icons also looking quite square ;) On Wed, Dec 8, 2010 at 3:46 PM, .net noobie wrote: > http://www.freevectorsdaily.com/290-free-vector-icons/ > > some vector metro style icons .ai file format so you can just copy the xaml > from Expression Design > > and they are looking pretty square ;) > > On Mon, Nov 15, 2010 at 11:29 AM, Joseph Cooney wrote: > >> as in "don't-say-the-android-word" too round? >> >> >> On Mon, Nov 15, 2010 at 10:02 AM, Nick Randolph wrote: >> >>> Actually, you may want to be careful there – they’re looking a little >>> rounded to be “metro” enough J >>> >>> >>> >>> *Nick Randolph** *| *Built to Roam* | Microsoft MVP – Windows Phone >>> Development | +61 412 413 425 >>> The information contained in this email is confidential. If you are not >>> the intended recipient, you may not disclose or use the information in this >>> email in any way. Built To Roam does not guarantee the integrity of any >>> emails or attached files. The views or opinions expressed are the author's >>> own and may not reflect the views or opinions of Built To Roam. >>> >>> >>> >>> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto: >>> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *.net noobie >>> *Sent:* Sunday, 14 November 2010 9:43 PM >>> >>> *To:* ozSilverlight >>> *Subject:* Re: Metro Icons in xaml >>> >>> >>> >>> Here are some more nice icons which fit the WP7 Metro theme as ".ai" and >>> ".xaml" files >>> >>> >>> >>> http://archetype-inc.com/yard/fundamentals/icons/ >>> >>> >>> *Fundamental Icons* >>> >>> *Most interactive applications require a core set of icons, yet >>> designers all over the world must constantly create them over and over >>> again. Play/pause buttons, search icons, close buttons, and more. Let's face >>> it, we're constantly building and rebuilding them. But fear not, those dark >>> days are over!* >>> >>> *Instead of periodically wasting precious time on redundant vertex >>> points and Bézier curves, we decided to create a set of core icons for our >>> applications, which we've accordingly named Fundamental Icons. This set >>> includes the essential icons your applications need to not only look great, >>> but effectively communicate features and functionality to users. Icons are >>> provided entirely in vector format (AI and XAML). Scale them and manipulate >>> them as much as you need.* >>> >>> *This first release includes black and white icons, along with slightly >>> shaded variants. * >>> >>> >>> >>> >>> >>> On Fri, Nov 12, 2010 at 2:55 PM, .net noobie >>> wrote: >>> >>> I just noticed in Blend when you are making an ApplicationBar, the >>> default Icons are already included in the drop down menu in the item >>> properties menu >>> >>> which also respond to changing the theme, which is nice :) >>> >>> On Wed, Nov 10, 2010 at 5:09 PM, .net noobie >>> wrote: >>> >>> the link to see the full set of icons in that pack >>> >>> http://metro.windowswiki.info/ >>> >>> >>> >>> >>> >>> On Wed, Nov 10, 2010 at 4:07 PM, .net noobie >>> wrote: >>> >>> here is also some good icons to download >>> >>> http://www.windowswiki.info/2010/03/29/metro-icon-pack-windows-phone-7-icons/ >>> >>> >>> >>> but i am thinking xaml is better as you can hook up the styles to refelct >>> the current theme settings of the phone? >>> if you would like that in your application and not just a set colour >>> scheme >>> >>> On Wed, Nov 10, 2010 at 4:05 PM, .net noobie >>> wrote: >>> >>> I also found this basic_shellcommon_vectors.ai file >>> >>> C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Icons\vector >>> >>> >>> >>> has the same as the Design Templates download >>> >>> >>> >>> but there is a download somewhere that has xaml versions I am sure, >>> anywhy this is good thanks, as yu can get the xaml from Expression Desigh >>> >>> On Wed, Nov 10, 2010 at 3:52 PM, .net noobie >>> wrote: >>> >>> Thank you very much :) >>> >>> >>> >>> On Wed, Nov 10, 2010 at 3:49 PM, Chris Walsh wrote: >>> >>> Here… http://go.microsoft.com/fwlink/?LinkId=196225 >>> >>> >>> >>> >>> >>> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto: >>> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *.net noobie >>> *Sent:* Wednesday, 10 November 2010 4:48 PM >>> *To:* ozSilverlight >>> *Subject:* Re: Metro Icons in xaml >>> >>> >>> >>> I cannot find them, do you please have the link? >>> >>> On Wed, Nov 10, 2010 at 3:45 PM, Chris Walsh wrote: >>> >>> Not sure about xaml but the PSD with the MetroIcons is available on the >>> download site @ Microsoft.com >>> >>> >>> >>> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto: >>> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *.net noobie >>> *Sent:* Wednesday, 10 November 2010 4:45 PM >>> *To:* ozsilverlight@ozsilverlight.com >>> >>> >>> *Subject:* Metro Icons in xaml >>> >>> >>> >>> I remember finding somewhere at one of the MS websites a d
Re: Metro Icons in xaml
http://www.freevectorsdaily.com/290-free-vector-icons/ some vector metro style icons .ai file format so you can just copy the xaml from Expression Design and they are looking pretty square ;) On Mon, Nov 15, 2010 at 11:29 AM, Joseph Cooney wrote: > as in "don't-say-the-android-word" too round? > > > On Mon, Nov 15, 2010 at 10:02 AM, Nick Randolph wrote: > >> Actually, you may want to be careful there – they’re looking a little >> rounded to be “metro” enough J >> >> >> >> *Nick Randolph** *| *Built to Roam* | Microsoft MVP – Windows Phone >> Development | +61 412 413 425 >> The information contained in this email is confidential. If you are not >> the intended recipient, you may not disclose or use the information in this >> email in any way. Built To Roam does not guarantee the integrity of any >> emails or attached files. The views or opinions expressed are the author's >> own and may not reflect the views or opinions of Built To Roam. >> >> >> >> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto: >> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *.net noobie >> *Sent:* Sunday, 14 November 2010 9:43 PM >> >> *To:* ozSilverlight >> *Subject:* Re: Metro Icons in xaml >> >> >> >> Here are some more nice icons which fit the WP7 Metro theme as ".ai" and >> ".xaml" files >> >> >> >> http://archetype-inc.com/yard/fundamentals/icons/ >> >> >> *Fundamental Icons* >> >> *Most interactive applications require a core set of icons, yet designers >> all over the world must constantly create them over and over again. >> Play/pause buttons, search icons, close buttons, and more. Let's face it, >> we're constantly building and rebuilding them. But fear not, those dark days >> are over!* >> >> *Instead of periodically wasting precious time on redundant vertex points >> and Bézier curves, we decided to create a set of core icons for our >> applications, which we've accordingly named Fundamental Icons. This set >> includes the essential icons your applications need to not only look great, >> but effectively communicate features and functionality to users. Icons are >> provided entirely in vector format (AI and XAML). Scale them and manipulate >> them as much as you need.* >> >> *This first release includes black and white icons, along with slightly >> shaded variants. * >> >> >> >> >> >> On Fri, Nov 12, 2010 at 2:55 PM, .net noobie >> wrote: >> >> I just noticed in Blend when you are making an ApplicationBar, the default >> Icons are already included in the drop down menu in the item properties menu >> >> which also respond to changing the theme, which is nice :) >> >> On Wed, Nov 10, 2010 at 5:09 PM, .net noobie >> wrote: >> >> the link to see the full set of icons in that pack >> >> http://metro.windowswiki.info/ >> >> >> >> >> >> On Wed, Nov 10, 2010 at 4:07 PM, .net noobie >> wrote: >> >> here is also some good icons to download >> >> http://www.windowswiki.info/2010/03/29/metro-icon-pack-windows-phone-7-icons/ >> >> >> >> but i am thinking xaml is better as you can hook up the styles to refelct >> the current theme settings of the phone? >> if you would like that in your application and not just a set colour >> scheme >> >> On Wed, Nov 10, 2010 at 4:05 PM, .net noobie >> wrote: >> >> I also found this basic_shellcommon_vectors.ai file >> >> C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Icons\vector >> >> >> >> has the same as the Design Templates download >> >> >> >> but there is a download somewhere that has xaml versions I am sure, anywhy >> this is good thanks, as yu can get the xaml from Expression Desigh >> >> On Wed, Nov 10, 2010 at 3:52 PM, .net noobie >> wrote: >> >> Thank you very much :) >> >> >> >> On Wed, Nov 10, 2010 at 3:49 PM, Chris Walsh wrote: >> >> Here… http://go.microsoft.com/fwlink/?LinkId=196225 >> >> >> >> >> >> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto: >> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *.net noobie >> *Sent:* Wednesday, 10 November 2010 4:48 PM >> *To:* ozSilverlight >> *Subject:* Re: Metro Icons in xaml >> >> >> >> I cannot find them, do you please have the link? >> >> On Wed, Nov 10, 2010 at 3:45 PM, Chris Walsh wrote: >> >> Not sure about xaml but the PSD with the MetroIcons is available on the >> download site @ Microsoft.com >> >> >> >> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto: >> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *.net noobie >> *Sent:* Wednesday, 10 November 2010 4:45 PM >> *To:* ozsilverlight@ozsilverlight.com >> >> >> *Subject:* Metro Icons in xaml >> >> >> >> I remember finding somewhere at one of the MS websites a download that >> contained all the Metro Icons in xaml and other formats as well >> >> >> >> I cannot remember where this was, can anyone please send the link if you >> know where it is located >> >> thank you :) >> >> >> >> >> ___ >> ozsilverlight mailing list >> ozsilverlight@ozsilverlight.com >> http://prdlxvm0001
RE: Event not bubbling up
Can you post a simple repro? No time, as the problem is buried deep inside a gigantic mess of controls and infrastructure. As a workaround I manually raised an event on the click for the parent to listen to. Now I have other stuff-ups to fix and I’ll return to bubbling later. Greg ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
Re: Event not bubbling up
Can you post a simple repro? Sent from my iPhone On 08/12/2010, at 9:23 AM, "Greg Keogh" wrote: > One of my user controls is a Canvas where I draw lots of graphics. This > control is inside parent controls. I just noticed that the > MouseLeftButtonDown event on my child control with a Canvas is being silently > swallowed and is not bubbling up. > > > > I have other child controls at the same level as my Canvas, C1 charts, Grids > with TextBlocks, etc, and these are all bubbling the mouse clicks upwards. > > > > Why would my control with a Canvas be swallowing the mouse clicks? > > > > Greg > > ___ > ozsilverlight mailing list > ozsilverlight@ozsilverlight.com > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
RE: Event not bubbling up
I also guessed that there must be something different about Canvas and event bubbling, but I can't find anything to confirm or explain this. Now I wonder if there's a way of manually sending the MouseLeftButtonDown event upwards. Any ideas? Greg Keogh ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
Re: Event not bubbling up
I (very vaguely) think I remember reading something about the Canvas being an exception to the event bubbling norm (tunnels down rather than bubbling up). Struggling to find a reference to it now but it would have been in the WPF unleashed book in the events section. Greg On Wed, Dec 8, 2010 at 9:23 AM, Greg Keogh wrote: > One of my user controls is a Canvas where I draw lots of graphics. This > control is inside parent controls. I just noticed that the > MouseLeftButtonDown event on my child control with a Canvas is being > silently swallowed and is not bubbling up. > > > > I have other child controls at the same level as my Canvas, C1 charts, > Grids with TextBlocks, etc, and these are all bubbling the mouse clicks > upwards. > > > > Why would my control with a Canvas be swallowing the mouse clicks? > > > > Greg > > ___ > ozsilverlight mailing list > ozsilverlight@ozsilverlight.com > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight > > ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
Event not bubbling up
One of my user controls is a Canvas where I draw lots of graphics. This control is inside parent controls. I just noticed that the MouseLeftButtonDown event on my child control with a Canvas is being silently swallowed and is not bubbling up. I have other child controls at the same level as my Canvas, C1 charts, Grids with TextBlocks, etc, and these are all bubbling the mouse clicks upwards. Why would my control with a Canvas be swallowing the mouse clicks? Greg ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight