Grid Gradient

2 posts, 0 answers
  1. George Felipe
    George Felipe avatar
    11 posts
    Member since:
    Nov 2009

    Posted 30 Mar 2010 Link to this post

    I want to apply the same gradient to the Grid container as the Windows7 theme gradient. Is there a way I can achieve this?
  2. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 05 Apr 2010 Link to this post

    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.
Back to Top