Good morning,
in WPF sfdatagrid documentation I found
Conditional styling of caption summary row based on group level
public override Style SelectStyle(object item, DependencyObject container)
{
var dataRow = item as DataRowBase;
var level = dataRow.Level;
//based on group levels, style applied to CaptionSummaryRow
if (level == 1)
return App.Current.Resources["rowStyle1"] as Style;
else if (level == 2)
return App.Current.Resources["rowStyle2"] as Style;
else if (level == 3)
return App.Current.Resources["rowStyle3"] as Style;
return base.SelectStyle(item, container);
}
Is it possible to base the condition on mappingname? And How?
Thank You in advance,
Best regards
Marco