Help setting the FlexGrid grid line and border colors

Posted by: adobozi on 31 July 2025, 5:44 pm EST

  • Posted 31 July 2025, 5:44 pm EST - Updated 31 July 2025, 5:49 pm EST

    I modified the FlexGrid demo app’s Getting Started view by setting the border and grid line colors and thickness in the GettingStarted.xaml (see below). The thickness works, the border is visible around the grid and the cells but the border color doesn’t change. What am I doing wrong?

        <c1:FlexGrid x:Name="grid" FontFamily="ShantellSans" AutoGeneratingColumn="OnAutoGeneratingColumn"
                     BorderBrush="Black"
                     BorderThickness="10"
                     GridLinesWidth="5"
                     ColumnHeaderGridLinesBrush="Black"
                     ColumnHeaderBackground="AliceBlue"
                     ColumnHeaderGridLinesVisibility="All"
                     GridLinesBrush="Black"
                     GridLinesVisibility="All"
                     Background="LightGreen"
                     AlternatingRowBackground="Yellow"
                     />

  • Posted 31 July 2025, 5:58 pm EST

    PS: The expected behavior is to have black grid border and grid lines instead of the current LightGreen background color.

  • Posted 1 August 2025, 9:46 am EST

    Hi,

    Thank you for sharing your code-snippet. We could see the behavior you mentioned. We have reported it to the development team for further investigation and will let you know the updates as soon as possible.

    [Internal Tracking ID: C1XAML-38457]

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels