We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridDataVisibleColumn Binding.

Thread ID:





107621 Mar 8,2013 03:29 PM Mar 18,2013 11:06 PM WPF 1
Tags: GridControl
Asad Samarian
Asked On March 8, 2013 03:29 PM

My question is why you use:
<syncfusion:GridDataVisibleColumn HeaderText="Zip Code" MappingName="ZipCode">

Instead of :

<syncfusion:GridDataVisibleColumn HeaderText="Zip Code"  MappingName="{Binding ZipCode}">

I think this is a bad idea when we change these properties in our view model.
Can you tell me more about it? please.

Rajasekar G [Syncfusion]
Replied On March 18, 2013 11:06 PM

Hi Asad,


Thank you for using Syncfusion products.


We have analyzed your query. Could you please share in which purpose do you want to bind the MappingName to the GridDataVisibleColumn That would be very helpful for us to further analysis .And also you can bind the property in the underlying collection to GridDataVisibleColumn while loading GridDataControl by using the following code snippet.


Code snippet[Xaml]:

<syncfusion:GridDataVisibleColumn Binding="{Binding CustomerID}" HeaderText="CustomerID">                    



For your reference here we have attached a simple sample and you can download the sample from the following location.


Sample: GridDataControlSample.zip


Please let us know if you have any questions



Raja sekar.G


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.