TextBlock Text="{Binding ChildGroupName,
RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type
UserControl}},UpdateSourceTrigger=PropertyChanged,NotifyOnTargetUpdated=True,Mode=TwoWay}"
TargetUpdated="OnTextUpdated"/>
这里ChildGroupName是一个子控件datacontext属性.我想将ChildGroupName值绑定到父窗口.
我正在寻找为DataGridTextColumn构建文本修剪的示例.
在我当前的DataGridTextColumn中,文本会自动换行并且行宽会增加.我想添加文本修剪.