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
3160
A 'Binding' cannot be set on the 'ItemsSource' property of type 'FlatDataSource'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject.
posted

I am using this as an example: http://help.infragistics.com/Help/NetAdvantage/WPFDV/2010.2/CLR4.0/html/xamPivotGrid_G_DataSources.html

My xaml is:

 

 

 

 

<

 

 

 

igFlatData:FlatDataSource x:Key

="FlatData"

 

 

 

ItemsSource="{Binding ExposureItems}"

 

 

 

Rows

="[Collateral].[Description],[Account].[Account]"

 

 

 

Columns

="[Coupon].[Coupon]"

 

 

 

Measures

="TBA

_Qty">

Which generates the error msg above.  Also,  the following does not work:

<igFlatData:FlatDataSource.ConnectionSettings>
                <igFlatData:FlatDataConnectionSettings ItemsSource="{Binding ExposureItems}"/>
            </igFlatData:FlatDataSource.ConnectionSettings>

Why cannot I bind my data to the ItemsSource property?