I have a DataGrid in WPF. I would like to perform some calculations in C# using the value of one or more cells in a row and format cells in that row based on the results. I’ve searched but can’t find anything about using multiple values to format cells.
For the purposes of this exercise assume the DataGrid contains three fields called FolderStatus, FolderCount and FolderName.
Here’s the DataGrid –
<DataGrid d:ItemsSource="{d:SampleData ItemCount=1}" Margin="0,0,0,0" Name ="WorkflowDatabase" Grid.Column="0" Grid.Row="3" VerticalScrollBarVisibility="Visible" IsReadOnly="True" MinRowHeight="20">
</DataGrid>