Codejock Forums Homepage
Forum Home Forum Home > General > XAML Snippets
  New Posts New Posts RSS Feed - Skinned XAML Task dialog conflict
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skinned XAML Task dialog conflict

 Post Reply Post Reply
Author
Message
mojonez View Drop Down
Groupie
Groupie


Joined: 16 September 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote mojonez Quote  Post ReplyReply Direct Link To This Post Topic: Skinned XAML Task dialog conflict
    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.
 
 
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.