Jump to content
Software FX Community

Floating Style doesn't respect background


Mick
 Share

Recommended Posts

I'm trying to set a custom background on a chart that uses the floating style:

Using the blinds (or other) style, this is easy:

Window w1 = new Window { Width = 640, Height = 480, Content = new Chart { Gallery = Gallery.Pie, Style = Blinds.Style, Background = Brushes.Red } };w1.Show();

However, when I use the "Floating" Style, the background never show up:

Window w2 = new Window { Width = 640, Height = 480, Content = new Chart { Gallery = Gallery.Pie, Style = Floating.Style, Background = Brushes.Red } };w2.Show();

How do I get the floating style to respect the background that I set?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...