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

StartButtonImage centered in Windows7 theme

1 Answer 63 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Ferdinand
Top achievements
Rank 1
Ferdinand asked on 09 Nov 2010, 08:38 AM
Hi,
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
Ferdinand

1 Answer, 1 is accepted

Sort by
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 09 Nov 2010, 09:41 AM
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
Tags
RibbonBar
Asked by
Ferdinand
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Share this question
or