Hi Pankaj,
Thanks for using Syncfusion products.
To control the VisibleColumns in code behind, set the AutoPopulateColumns="False" in the xaml.
In the code behind file use the following code to make the columns to be visible.
this.dataGrid.VisibleColumns.Add(new Syncfusion.Windows.Controls.Grid.GridDataVisibleColumn() { MappingName="OrderID",HeaderText="OrderID"});
I have attached a sample in the below location.
VisibleColumnSample-1669147914.zipPlease let me know if you have any queries.
Thanks,
Varun