How to add radpanegroup to a rad split container?

2 posts, 0 answers
  1. Radhakrishnan
    Radhakrishnan avatar
    2 posts
    Member since:
    Sep 2012

    Posted 25 Sep 2012 Link to this post

    hello all, I use the follwing code to create a radsplitcontainer dynamically and it works perfectly fine.

    However when I try to add a pane group (commeneted code) I couldn't even see the split container showing to the right side of the window

    Any suggestions, please?

    Telerik.Windows.Controls.RadSplitContainer RightSplit =

     

    new Telerik.Windows.Controls.RadSplitContainer();

    RightSplit.InitialPosition = Telerik.Windows.Controls.Docking.DockState.DockedRight;

    RightSplit.BorderBrush = Brushes.DarkSlateGray;

    RightSplit.BorderThickness =

     

    new System.Windows.Thickness(3);

    RightSplit.Width =

     

    100;

    RightSplit.IsEnabled =

     

    true;

    RightSplit.Visibility = Visibility.Visible;

    MainContainer.Items.Add(RightSplit);

     

    //Telerik.Windows.Controls.RadPaneGroup thispaneGroup = new Telerik.Windows.Controls.RadPaneGroup();

     

    //thispaneGroup.Width = 100;

     

    //RightSplit.Items.Add(thispaneGroup);


    Regards
    RK
  2. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 28 Sep 2012 Link to this post

    Hi Radhakrishnan,

    By design it is not intended for the RadPaneGroup to be used without content so they are not shown, you can try adding a RadPane inside it and all of them should be visualized correctly.  In case this doesn't suits your needs with more details about the functionality that you are trying to achieve we might be able to suggest a different approach.

    Greetings,
    Georgi
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top