From 2018v3 onwards, the default appearance of FlexGrid has changed to the material design pattern. So, for users using 2018v3 or beyond, FlexGrid appears as follows:
In order to revert to the classic style which was there until 2018v2, use the following code:
XAML
XML |
Copy Code
|
---|---|
Style="{x:Static c1:FlexGrid.ClassicStyle}" |
C#
C# |
Copy Code
|
---|---|
grid.Style = FlexGrid.ClassicStyle; |
We have also added following features to support the material design in the FlexGrid control:
XAML
XML |
Copy Code
|
---|---|
<c1:FlexGrid x:Name="grid"> <c1:FlexGrid.Behaviors> <c1:CheckListBehavior SelectionBinding="Selected"/> </c1:FlexGrid.Behaviors> </c1:FlexGrid> |
C#
C# |
Copy Code
|
---|---|
var details = new CheckListBehavior(); details.SelectionBinding = "Selected"; details.Attach(grid); |