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

Grid Gradient

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
George Felipe
Top achievements
Rank 1
George Felipe asked on 30 Mar 2010, 10:17 PM
I want to apply the same gradient to the Grid container as the Windows7 theme gradient. Is there a way I can achieve this?

1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 05 Apr 2010, 12:29 PM
Hi George Felipe,

I am assuming you are refering to the group panel background and you want to apply that gradient to something else. The answers is yes you can. I am sending you the gradient itself to save you some digging in the xaml.

<LinearGradientBrush x:Key="GridView_GroupPanelBackground" EndPoint="1,1.004" StartPoint="-0.001,0.014">
        <GradientStop Color="#FFFBFCFC" Offset="0.09"/>
        <GradientStop Color="#FFFBFCFC" Offset="0.961"/>
        <GradientStop Color="#FFE9F0F8" Offset="0.18"/>
        <GradientStop Color="#FFFBFCFC" Offset="0.242"/>
        <GradientStop Color="#FFFBFCFC" Offset="0.535"/>
        <GradientStop Color="#FFECF2F8" Offset="0.773"/>
        <GradientStop Color="#FFFBFCFC" Offset="0.832"/>
        <GradientStop Color="#FFECF2F8" Offset="0.461"/>
        <GradientStop Color="#FFECF2F8" Offset="0.902"/>
</LinearGradientBrush>

Greetings,
Kalin Milanov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
George Felipe
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or