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

Adding custom button

6 Answers 54 Views
Window
This is a migrated thread and some comments may be shown as answers.
Le_Roy
Top achievements
Rank 2
Le_Roy asked on 15 Sep 2010, 06:39 AM
Hello, dear developers.
I wanna ask you about, howto achieve my goal.
I need to add my custom button to buttons list (e.g. minimize, maximize, close) in header pane.

6 Answers, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 15 Sep 2010, 03:24 PM
Hi Le_Roy,

Thank you for contacting us.

You can easily achieve this by editing the Header of the Window in Expression Blend. Just drop a Window in the design surface, right click it and choose from the menu Edit Template->Edit a Copy. Then, Blend will generate all the needed resources. In that way you will be able to add your button to the header in the Border with x:Name="PART_HeaderButtonsBorder".

If you need further assistance please let us know.

Best wishes,
Konstantina
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Le_Roy
Top achievements
Rank 2
answered on 16 Sep 2010, 05:45 AM
Hi, Konstantina!
Could you post an example? I don't have an Expression Blend at the moment.
0
Accepted
Konstantina
Telerik team
answered on 16 Sep 2010, 08:44 AM
Hello Le_Roy,

Please find attached a sample project with the style of the Window.

If you have further questions please let us know.

Kind regards,
Konstantina
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Le_Roy
Top achievements
Rank 2
answered on 16 Sep 2010, 01:47 PM
Thank you, Konstantina!
0
Le_Roy
Top achievements
Rank 2
answered on 07 Oct 2010, 07:30 AM
Good day again.
Got other problem. Blend only exporting OfficeBlack theme..
What can I do to take Windows7 themed style?
0
Accepted
Konstantina
Telerik team
answered on 11 Oct 2010, 11:08 AM
Hello Le_Roy,

Thank you for your question.

I am sending you the Windows 7 theme of the Window, which you can use to add the button. Please find the attached XAML file.
Once you become a customer all styles and templates of all Telerik controls will be available for you after building the projects.

If you have any other inquiries please let us know.

Greetings,
Konstantina
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Le_Roy
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Le_Roy
Top achievements
Rank 2
Share this question
or