dxg:TreeListView.RowDecorationTemplate

    <dxg:TreeListView.RowDecorationTemplate>

                    <ControlTemplate TargetType="ContentControl">

                        <Border  x:Name="border"
Background="{Binding Path=Row.EncounterId,
Converter={StaticResource historyMedicationOrderBackgroundConverter}}"
> <ContentPresenter Name="content"
Content="{Binding}"
ContentTemplate="{Binding View.DefaultDataRowTemplate}"
>
</ContentPresenter> </Border > <ControlTemplate.Triggers>
<DataTrigger Binding="{Binding Path=IsFocused}" Value="True">
<Setter Property="Background" Value="Transparent" TargetName="border"/>
</DataTrigger>
</ControlTemplate.Triggers> </ControlTemplate>
</dxg:TreeListView.RowDecorationTemplate>
上一篇:转载--------Python中:self和__init__的含义 + 为何要有self和__init__


下一篇:2019牛客暑期多校训练营(第五场)G - subsequeue 1 (一题我真的不会的题)