Adding custom button

7 posts, 3 answers
  1. Le_Roy
    Le_Roy avatar
    31 posts
    Member since:
    Nov 2009

    Posted 15 Sep 2010 Link to this post

    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.
  2. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 15 Sep 2010 Link to this post

    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
  3. DevCraft banner
  4. Le_Roy
    Le_Roy avatar
    31 posts
    Member since:
    Nov 2009

    Posted 16 Sep 2010 Link to this post

    Hi, Konstantina!
    Could you post an example? I don't have an Expression Blend at the moment.
  5. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 16 Sep 2010 Link to this post

    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
  6. Le_Roy
    Le_Roy avatar
    31 posts
    Member since:
    Nov 2009

    Posted 16 Sep 2010 Link to this post

    Thank you, Konstantina!
  7. Le_Roy
    Le_Roy avatar
    31 posts
    Member since:
    Nov 2009

    Posted 07 Oct 2010 Link to this post

    Good day again.
    Got other problem. Blend only exporting OfficeBlack theme..
    What can I do to take Windows7 themed style?
  8. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 11 Oct 2010 Link to this post

    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
Back to Top
DevCraft banner