Set content height

9 posts, 0 answers
  1. Anton Samarin
    Anton Samarin avatar
    29 posts
    Member since:
    Sep 2008

    Posted 12 Sep 2008 Link to this post

    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 )
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 15 Sep 2008 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Anton Samarin
    Anton Samarin avatar
    29 posts
    Member since:
    Sep 2008

    Posted 16 Sep 2008 Link to this post

    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?

  5. Anton Samarin
    Anton Samarin avatar
    29 posts
    Member since:
    Sep 2008

    Posted 17 Sep 2008 Link to this post

    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?
  6. Anton Samarin
    Anton Samarin avatar
    29 posts
    Member since:
    Sep 2008

    Posted 17 Sep 2008 Link to this post

    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
            } 

  7. Anton Samarin
    Anton Samarin avatar
    29 posts
    Member since:
    Sep 2008

    Posted 17 Sep 2008 Link to this post

    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).
  8. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 08 Oct 2008 Link to this post

    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.
  9. Anton Samarin
    Anton Samarin avatar
    29 posts
    Member since:
    Sep 2008

    Posted 24 Dec 2008 Link to this post

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

    Thanks.
  10. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 26 Dec 2008 Link to this post

    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.
Back to Top
UI for WPF is Visual Studio 2017 Ready