Print Page | Close Window

Skinned XAML Task dialog conflict

Printed From: Codejock Forums
Category: General
Forum Name: XAML Snippets
Forum Description: Post your XAML snippets here for everyone to enjoy :)
URL: http://forum.codejock.com/forum_posts.asp?TID=19450
Printed Date: 27 April 2024 at 1:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skinned XAML Task dialog conflict
Posted By: mojonez
Subject: Skinned XAML Task dialog conflict
Date Posted: 31 January 2012 at 7:57pm
I have a skinned XAML task dialog based on the VistaTaskDialog sample.
 
  <Dialog Name="Markers" AllowCancel="true" EnableMarkup="true"  MessageBoxStyle="true">
    <WindowTitle>Warning</WindowTitle>
    <MainInstruction Image="*Warning">blah blah blah</MainInstruction>
    <Content>blah content blah</Content>
    <Buttons>
      <Cancel/>
      <Button Foreground="Green" ID="101">&amp;button text</Button>
    </Buttons>
    <Footer Image="*Information">footer text</Footer>
  </Dialog>
 
My problem is the Button text color is shared by the label text color of the skin  (btnText in SkinBuilder).
 
I really need to override the button text color, but
 
<Button Foreground="Green">
 
in the code above has no effect.  
 
Is there any way for the task dialog XAML to override the skin color?
 
Thanks.
 
 
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net