1
需要在后面的代码中获取绑定对象的名称。以编程方式获取绑定名称
<telerik:RadGridView x:Name="grdCoverContent" AutoGenerateColumns="False" CanUserInsertRows="False" IsSynchronizedWithCurrentItem="True"
GridLinesVisibility="Horizontal" telerik:StyleManager.Theme="Windows8" VerticalAlignment="Top"
ShowGroupPanel="False" ItemsSource="{Binding CoverContentCollection, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True }"
SelectedItem="{Binding SelectedCoverContent,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged, Source={StaticResource CoverViewModel} }" RowHeight="30" CellValidating="grdCoverContent_CellValidating" >
有没有什么办法让约束力的名称为 “CoverContentCollection”
在此先感谢。