This is a migrated thread and some comments may be shown as answers.

How to add a button to Pane group

3 Answers 22 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Hai
Top achievements
Rank 1
Hai asked on 16 Jan 2012, 11:03 AM
Dear Sir/Madam,
How to add a button to Pane group as the file attached

Thank in advance

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 17 Jan 2012, 12:54 PM
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 >>
0
Hai
Top achievements
Rank 1
answered on 18 Jan 2012, 04:42 AM
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
0
Konstantina
Telerik team
answered on 19 Jan 2012, 02:09 PM
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 >>
Tags
Docking
Asked by
Hai
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Hai
Top achievements
Rank 1
Share this question
or