What event can I handed when radpane loaded

5 posts, 1 answers
  1. Keith
    Keith avatar
    5 posts
    Member since:
    Jun 2012

    Posted 04 Aug 2014 Link to this post

    I thought it would be something like the loaded event but that appears to not be the case.  Please advise, thanks.

    public partial class Menu : RadPane
    {
    public Menu()
    {
    InitializeComponent();
    DataContext = new MenuViewModel(mc);
    Loaded += Menu_Loaded; //breakpoint here executes

    }

    void Menu_Loaded(object sender, RoutedEventArgs e)
    {
    Loaded -= Menu_Loaded; // never executes
    ((MenuViewModel)DataContext).ShowMenu();
    }

    protected override void OnLoaded(object sender, RoutedEventArgs e)
    {
    base.OnLoaded(sender, e); // never executes
    ((MenuViewModel)DataContext).ShowMenu();
    }

    }
  2. Keith
    Keith avatar
    5 posts
    Member since:
    Jun 2012

    Posted 04 Aug 2014 in reply to Keith Link to this post

    Title should be "What event can I handle when radpane is loaded"
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 05 Aug 2014 Link to this post

    Hi Keith,

    You would be able to hook to the Loaded event of RadPane without a problem. Could you please share some more details about the exact issue you are facing?

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  5. Keith
    Keith avatar
    5 posts
    Member since:
    Jun 2012

    Posted 05 Aug 2014 in reply to Kalin Link to this post

    Please see this question which is a better description of the problem thx
    http://www.telerik.com/forums/how-to-programmatically-add-a-radpane-to-a-docking-control
  6. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 08 Aug 2014 Link to this post

    Hello Keith,

    I have already answered you in the other forum thread and will ask you to continue the conversation there.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top
UI for WPF is Visual Studio 2017 Ready