Hi Web Synergies,
Thank you for using Syncfusion products.
Based on the provided information, your requirement of “Customizing the icon of collapse / Expand of grouping in DataGrid” in Xamarin.Forms can be achieved using the GridStyle property of DataGrid. By inheriting the DataGridStyle you can get / set your customized icon to the collapse / Expand and set in the Grid style property. Please refer the following code example for the same.
Please refer the sample and code snippet for your reference,
_dataGrid.GridStyle = new DataGridStyleDemo();
public class DataGridStyleDemo: DataGridStyle
public override ImageSource GetGroupCollapseIcon()
public override ImageSource GetGroupExpanderIcon()
Whether your requirement to customize the collapse icon in DataForm. We can able to customize that too. Please refer the sample in below mentioned link for your reference.
If the given sample doesn’t meet your requirement, please modify the sample based on your scenario and revert to us assist you more.