Modify Fixed column style

2 posts, 0 answers
  1. Dirk Liebich
    Dirk Liebich avatar
    17 posts
    Member since:
    Jun 2010

    Posted 19 Aug 2011 Link to this post

    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!
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 19 Aug 2011 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top