height issue in radpanel bar

2 posts, 0 answers
  1. Manish Agarwal
    Manish Agarwal avatar
    44 posts
    Member since:
    Sep 2009

    Posted 07 Dec 2009 Link to this post


    I am defining RADPanelBar , But it is not taking the height Like











    <RowDefinition Height="Auto"></RowDefinition>




    <RowDefinition Height="*"></RowDefinition>











    <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="0"></stackpanel>




    <telerikNavigation:RadPanelBar HorizontalAlignment="Stretch" x:Name="EngagementList" Selected="EngagementListingPanel_Selected" PreviewCollapsed="EngagementList_PreviewCollapsed"






    LayoutUpdated="EngagementList_LayoutUpdated" PreviewExpanded="EngagementList_PreviewExpanded" Style="{StaticResource RadPanelBarStyle}"






    Grid.Column="0" Grid.Row="1">
    Here i have defined the context menu...

    Now the RADPanel Bar doesnot take the entire space left.
    I want my context menu should appear everywhere in this space but i am not able to do so.

    Please suggest

    Charu Pahuja


  2. Kiril Stanoev
    Kiril Stanoev avatar
    1508 posts

    Posted 09 Dec 2009 Link to this post

    Hi Manish,

    The default vertical alignment of RadPanelBar is Top, so try setting it to Stretch. I think this will fix the issue. 

    <telerikNavigation:RadPanelBar HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                        x:Name="EngagementList" Selected="EngagementListingPanel_Selected"
                        Style="{StaticResource RadPanelBarStyle}" Grid.Column="0" Grid.Row="1" />

    Let me know if you have additional questions or comments.

    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top