Hi xmen,
Thanks for contacting Syncfusion support.
You can get the object in the converter by leaving the Binding value and specify only the Converter as shown in the following code example.
Code example :
<syncfusion:GridTextColumn MappingName="Column1">
<syncfusion:GridTextColumn.CellStyle>
<Style TargetType="syncfusion:GridCell">
<Setter Property="Background" Value="{Binding Converter={StaticResource NameToColorConvertor}}" />
</Style>
</syncfusion:GridTextColumn.CellStyle>
</syncfusion:GridTextColumn> |
We have modified the KB sample based on the above code snippet and it is available in the following link for your reference.
Please let us know if you need any further assistance in this.
Regards,
Deivaselvan