StartButtonImage centered in Windows7 theme

2 posts, 1 answers
  1. Ferdinand
    Ferdinand avatar
    56 posts
    Member since:
    Jun 2008

    Posted 09 Nov 2010 Link to this post

    I have a problem using the RibbonBar's StartButtonImage. I have set an image for the start button which is not rounded because of the windows7 theme. Now I would like to have my image in the center of the button but it always shows on the left side. Is there a possibility to have it centered?

    Best regards
  2. Answer
    Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 09 Nov 2010 Link to this post

    Hello Ferdinand,

    Please try the following:
    radRibbonBar1.RibbonBarElement.ApplicationButtonElement.ImageAlignment = ContentAlignment.MiddleCenter;

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top