Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
How to bind the Visibility of a Field in XamDataGrid?
posted

Hi,

I'd like to show/hide the some columns (Fields in XamDataGrid) depending on what data fields are available in the view model (DataSource for the grid) in xaml.  Can you show me some examples on how to do that?  thanks.

Basically I'd like to do something like below, but how cal I pass the binding source?

 

 

<

 

igDP:Field Label="My Column" Name="MyProperty" Visibility="{Binding ????}"/>