Max heigh popup to RadPane

4 posts, 0 answers
  1. miri
    miri avatar
    11 posts
    Member since:
    Apr 2015

    Posted 03 Aug 2015 Link to this post

    Helllo, i have a rad-pane that i want edit her pop-up, i want the pop up will have max heigh, and also a border with a curner-radios,

    i try do it with the blend' but i can't get the pop-up template to edit it.

    here is my code, i want that the right-group pop up will have a maximum heigh and border with a curner-radios.

     

    <telerik:RadPaneGroup x:Name="RightGroup" Style="{DynamicResource RadPaneGroupStyle1}" >
    <telerik:RadPane x:Name="propertiesPanel"
    Header="Properties"
    CanUserClose="False"
    CanFloat="False"
    CanDockInDocumentHost="False"
    ContextMenuTemplate="{x:Null}" >
    <Grid>
    <ScrollViewer HorizontalScrollBarVisibility="Disabled" CanContentScroll="True" VerticalScrollBarVisibility="Auto">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto" />
    <RowDefinition />
    </Grid.RowDefinitions>
    <ContentPresenter Margin="5,0,3,-3" />
    <ListView Grid.Row="1" Margin="3" >
    <ListViewItem Content="​item1" />
    <ListViewItem Content="​item2" />
    <ListViewItem Content="​item3" />
    <ListViewItem Content="item4" />
    </ListView>
    </Grid>
    </ScrollViewer>
    </Grid>
    </telerik:RadPane>
    </telerik:RadPaneGroup>

  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 05 Aug 2015 Link to this post

    Hi,

    Can you share some more details regarding the exact scenario you need to achieve (an image would be helpful)? You need to modify the appearance of the Pane when it is pinned or when it is docked?

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. miri
    miri avatar
    11 posts
    Member since:
    Apr 2015

    Posted 06 Aug 2015 in reply to Kalin Link to this post

    Hi,

    I  want change the Pane when it no pinned,

    i have a button anf when the mouseover on the button the pane content apear on pop-up,

    i want style this popup, get him loacation to statr, cornerRadios, border, heigh, margin and more properties.

    i try do it with the blend but i dont found nothing about this pop-up

     

    thank you for answer.

    miri

  5. Masha
    Admin
    Masha avatar
    355 posts

    Posted 10 Aug 2015 Link to this post

    Hi,

    In order to achieve the desired approach you need to modify the AutoHideAreaStyle and especially each of its four control templates.

    I've created a sample project where is demonstrated how to modify the LeftTemplate of AutoHideAreaStyle. Please note the project uses implicit styles styling approach and NoXaml binares.

    I hope it helps.

    Regards,
    Masha
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top