Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > PanelBar > Set content height

Not answered Set content height

Feed from this thread
  • Anton Samarin avatar

    Posted on Sep 12, 2008 (permalink)

    How set content height in RadPanelBarItem 100%? That after item closed, content stretch at the height of the window!
    I want get design like Outlook panel.

    Thanks.

    PS: Sorry for my English )

    Reply

  • Valeri Hristov Valeri Hristov admin's avatar

    Posted on Sep 15, 2008 (permalink)

    Hello Anton,

    Currently RadPanelBar does not support a "full height" mode for its items. This feature will be implemented in one of our next releases.

    However, there is a possible workaround that you can use to achieve the "Outlook" behavior you describe even with the current version of RadPanelBar. I created a sample project for you in which you can see a possible solution for your problem. The demo application is attached to this post.

    Let me know if you have any further questions.

    Sincerely yours,
    Valeri Hristov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Q1 Webinar Week
  • Anton Samarin avatar

    Posted on Sep 16, 2008 (permalink)

    Hello, Valeri.
    I have another trouble. I've put RadTreeView into RadPanelBarItem. RadTreeView  have default animation on MouseOver, this animation brushes only treeView, rest part of RadPanelBarItem not brushed.
    I see two way to solve this problem:
    1. Turn off animation into RadTreeView.( Can't override default animation)
    2. Turn on animation on RadPanelBarItem. ( Can't add animation for Background)

    Could you help me?

    Reply

  • Anton Samarin avatar

    Posted on Sep 17, 2008 (permalink)

    Sorry for my mistake, this animation effect create RadPanelBarItem(in my opinion on event MouseOver). This effect extend on only  filled content (not on all height)!
    How turn off it?

    Reply

  • Anton Samarin avatar

    Posted on Sep 17, 2008 (permalink)

    I have more question.
    I have into UserControl RadPanelBar and RadPanelBarItem with name "myItem".

    protected override void OnInitialized(EventArgs e) 
            { 
                base.OnInitialized(e); 
                myItem.IsExpanded = true
            } 

    get error: "Object reference not set to an instance of an object."

    If i add this atribute into xaml have error too!

    Thanks.

    Sorry, i determine this problem.
    private void myItem_Loaded(object sender, RoutedEventArgs e) 
            { 
                myItem.IsExpanded = true
            } 

    Reply

  • Anton Samarin avatar

    Posted on Sep 17, 2008 (permalink)

    In your project if you expanded some item, and resize window you get my first problem again (if you set smaller size you get scroll).

    Reply

  • Valentin.Stoychev Valentin.Stoychev admin's avatar

    Posted on Oct 8, 2008 (permalink)

    Hi Anton Samarin,

    sorry for the dealyed answer. We will fix this issue with the next release of RadPanelBar - with our Q3 release at the begining of November. Please let us know if you have any other problems.

    Greetings,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Anton Samarin avatar

    Posted on Dec 24, 2008 (permalink)

    Hello. 
    Could you say resoved my problem in Q3SP1 version or not?

    Thanks.

    Reply

  • Konstantin Petkov Konstantin Petkov admin's avatar

    Posted on Dec 26, 2008 (permalink)

    Hi Anton,

    Do you refer the issue when you resize the browser and get the scroll bar on the right? Unfortunately it looks like the problem is still observable with the latest version. I will pass it to our developers for further investigation.

    Please excuse us for any inconvenience this has caused and let us know if there is anything else we could help with.

    Best wishes,
    Konstantin Petkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Q1 Webinar Week

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > PanelBar > Set content height
Related resources for "Set content height"

WPF PanelBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]