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

Modify Fixed column style

1 Answer 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dirk Liebich
Top achievements
Rank 1
Dirk Liebich asked on 19 Aug 2011, 10:28 AM
Hey there,

I'd like to get rid of the shadow of the vertical splitter shown once you fix a column.
Is there any way to override the style and remove the shadow?


Thanks a lot!

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 19 Aug 2011, 11:54 AM
Hi Dirk Liebich,

 

This part is named FrozenColumnsSplitter. As the rest of the parts in RadGridView you may modify its appearance either by creating a simple style or through modifying its template.

The snippet below demonstrates how to change it using a simple style:

<UserControl.Resources>
        <Style TargetType="telerik:FrozenColumnsSplitter">
            <Setter Property="Width" Value="2"/>
            <Setter Property="Background" Value="Red"/>
        </Style>
        </UserControl.Resources>
        <Grid x:Name="LayoutRoot" Background="White" DataContext="{Binding Source={StaticResource SampleDataSource}}">
        <telerik:RadGridView ItemsSource="{Binding Collection}"/>      
    </Grid>


If this does not satisfy your requirements, you should alter its appearance through predefining its template using Expression Blend. You may read more about Templates Structure in RadGridView in our online documentation.


Kind regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Dirk Liebich
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or