0

我在 RadGridView 中有自己定义的 GroupHeaderTemplate。
这是图片
在此处输入图像描述

部分代码在这里:

TextBox Grid.Column="0"
                 Text="{Binding Group.Items[0].Name, Mode=TwoWay}" 
                 Foreground="#50A0DA" 
                 FontWeight="Bold"
                 VerticalAlignment="Center"
                 HorizontalAlignment="Left"
                 Width="Auto"/>

例如,如果我将Test Levon编辑为Edited Text,我将无法在我的 ViewModel 中获得该版本。我怎样才能实现它?有没有办法将编辑后的文本绑定到我的 ViewModel 中的属性?

PS 这是一个 Silverlight 应用程序。

4

0 回答 0