Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1285
White space in header of grid
posted

I setup grid using code by setting column/row properties of the field class.  In the first row I get a white space.  I expected gray space as the last row.  Suggestions?

 

Thanks

Parents
No Data
Reply
  • 69686
    posted

    Hello, 

    This is because the Gradient of the default theme is white in this area. You can change this by creating a style for the DataRecordPresenter and setting the HeaderAreaBackground property:

    <Style TargetType="igDP:DataRecordPresenter">

                <Setter Property="HeaderAreaBackground">

                    <Setter.Value>

                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">

                            <GradientStop Offset="0.000000" Color="#FF828796"/>

                            <GradientStop Offset="0.5" Color="Blue"/>

                            <GradientStop Offset="0.5" Color="#FF303342"/>

                            <GradientStop Offset="1.000000" Color="Yellow"/>

                        </LinearGradientBrush>

                    </Setter.Value>

                </Setter>

            </Style>

    Hope this helps

Children