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

Help with Styling Silverlight

1 Answer 21 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ludovic Gerbault
Top achievements
Rank 1
Ludovic Gerbault asked on 12 Sep 2009, 02:37 PM
Hello

I hope there are some experts in silverlight styles around.

I have a stackpanel, and I want to set it with a particual lineargradient.

Usually, it would be easy, but in the same background, there is actually two linear gradient combined

One goes from left to right with a small offset like 0.05 to 1
The second one goes from the top to the bottom with an offset of 0.5 to 1

Check the screen shot to visualize better the expected result : http://img3.imageshack.us/img3/4317/doublelineargradient.jpg

The thing is that I can't seem to be able to combine two linear gradient.

Anyone knows how to do that kind of thing (I'd like to avoid the ImageBrush) ?

1 Answer, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 12 Sep 2009, 04:11 PM
Hi Pascal,

Unfortunately, you cannot compose two gradient brushes in Silverlight out of the box. For sure there is no easy way in which you can easily compose radial or linear gradient brushes.

Thank you for contacting us and we look forward to answering more of your questions.

Sincerely yours,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Ludovic Gerbault
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Share this question
or