How to add a button to Pane group

4 posts, 0 answers
  1. Hai
    Hai avatar
    2 posts
    Member since:
    Jan 2012

    Posted 16 Jan 2012 Link to this post

    Dear Sir/Madam,
    How to add a button to Pane group as the file attached

    Thank in advance

  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 17 Jan 2012 Link to this post

    Hi Hai,

    You can find more information how to add buttons in the Pane's header in this help article.

    All the best,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Hai
    Hai avatar
    2 posts
    Member since:
    Jan 2012

    Posted 17 Jan 2012 Link to this post

    Dear Sir,
    First, I m sorry, I must find the help artice before I ask any thing,
    because  I am new and missunderstood , I thought we can add a button direct to Gourp pane.
    with your help I know that I will add button to a pane, but I dont know where I put the text below to my XAML
    "
    <
    DataTemplate x:Key="TitleTemplate"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <ContentPresenter Content="{Binding}" Margin="0,0,75,0" /> <telerik:RadButton Grid.Column="1" Content="Float!" /> </Grid> </DataTemplate>
    "
    Please help me
    Thansk in advance
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 19 Jan 2012 Link to this post

    Hello Hai,

    You have to add the DataTemplate in the page's resources and then set it as a StaticResource to the Pane by setting the TitleTemplate property.

    Regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top