I want to use [Behavior::NavigateToPageAction] in the [WPF Project]

Answered I want to use [Behavior::NavigateToPageAction] in the [WPF Project]

  • Thursday, December 13, 2012 9:12 AM
     
     

    I think that if the method does not exist, try to create a custom behavior.

    But. [Common propaty] to [TargetPage] does not come out even if you inherit the [TargetedTriggerAction].

    There should be a way, if possible in the WindowsPhoneProject.

    Please tell me how to make a similar NavigateToPageAction in WPF.

All Replies

  • Thursday, December 13, 2012 2:44 PM
    Moderator
     
     Proposed Answer

    I wrote a blog post about this a couple years ago:

    http://chuckhays.net/blog/2010/04/12/wpf-navigation-framework-navigate-behavior/

  • Friday, December 14, 2012 6:52 AM
     
     

    Thank you.

    It was not asked but I tried.

    Is there a way to get a PageList to a CommonProperty like this?

  • Friday, December 14, 2012 2:20 PM
    Moderator
     
     Answered

    If you want to add metadata that specifies how your properties show up in the property editor, you want to look into the Extensibility support.

    Here are a couple useful links:

    http://blog.ningzhang.org/2009/04/property-value-editors-for-silverlight.html (also applies the same for WPF)

    http://blogs.msdn.com/b/unnir/archive/2009/03/27/a-sample-that-shows-the-new-blend-design-surface-extensibility.aspx

    • Marked As Answer by しえる Monday, December 17, 2012 9:07 AM
    •  
  • Monday, December 17, 2012 5:00 AM
     
     

    I realized I can ValueEditor.

    URL is also helpful.

    Thank you!