是绑定模式为双向的DataGridCheckBoxColumn?
此代码适用于我。
<data:DataGrid Grid.Row="1" Width="600" MaxHeight="200"
GridLinesVisibility="Horizontal"
AutoGenerateColumns="False" VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Auto"
ItemsSource="{Binding Path=ProductPull.Items, Mode=OneWay}">
<data:DataGrid.Columns>
<data:DataGridCheckBoxColumn Header="Select"
Binding="{Binding Path=IsSelected, Mode=TwoWay}" />
编辑
从Silverlight Data Binding这里是结合模式:
Direction of the Data Flow
--------------------------------------------------------------------------------
Each binding has a Mode property, which determines
how and when the data flows. Silverlight enables three types of bindings:
OneTime bindings update the target with the
source data when the binding is created.
OneWay bindings update the target with the
source data when the binding is created and anytime the data changes.
This is the default mode.
TwoWay bindings update both the target and the
source when either changes. Alternately, you can disable
automatic source updates and update the source only at times of your choosing.
In order for automatic target updates to occur,
the source object must implement the INotifyPropertyChanged interface,
as described in the next section.
的项目中的ItemsSource也可写'Available'财产? xaml和代码的简短示例会有所帮助。 – AnthonyWJones 2010-04-07 10:52:31