dxg:TreeListView.RowDecorationTemplate

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>
dxg:TreeListView.RowDecorationTemplate

dxg:TreeListView.RowDecorationTemplate

上一篇:ComboxEdit 重要属性


下一篇:下拉框比较符