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

Change the foreground of the MessageBoxButtons

3 Answers 67 Views
MessageBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 30 Sep 2013, 02:44 PM

Hi,

I want to modify the buttons template from the main template of the rad message box.
All I want to do is to keep the white color of the foreground and BorderBrush, even if the phone's theme is dark or light.

I tried to create 2 buttons with styles inside this stackPanel, but it doesn't replace the existing buttons:

<StackPanel x:Name="PART_ButtonsPanel" Orientation="Horizontal"></StackPanel>

The question is: How and what should I style? This stackPanel or something else?

Thanks,
Alex

3 Answers, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 30 Sep 2013, 05:56 PM
Hi Alex,

I believe this is the answer to your question on the forums here:
http://www.telerik.com/community/forums/windows-phone/message-box/change-the-style-of-the-generated-buttons.aspx


Hopefully this helps,
Master Chief
0
Todor
Telerik team
answered on 02 Oct 2013, 07:51 AM
Hi Alex,

Yes, you can use the suggestion in the link provided by Master Chief or you can use the suggestion provided here.
 
Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Alex
Top achievements
Rank 1
answered on 02 Oct 2013, 08:00 AM
Done it! Thank you Tudor.
Tags
MessageBox
Asked by
Alex
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Todor
Telerik team
Alex
Top achievements
Rank 1
Share this question
or