ContentPresenter版式传递

Sin*_*atr 5 c# wpf profiler xaml

我正在尝试分析wpf应用程序(以加快ListView显示复杂的多列datatemplated项目)。我在理解应用程序时间表报告中的数据时遇到了问题:

说明说:

这是此列模板(xaml):

<GridViewColumn Header="Header">
    <GridViewColumn.CellTemplate>
        <DataTemplate>
            <StackPanel>
                <StackPanel Orientation="Horizontal">
Run Code Online (Sandbox Code Playgroud)

问题:

  • 什么是“元素”作为时间轴项目的类型?是布局通过(据我了解)还是其他?
  • 为什么子项的总和(仅一个子= 0.33 ms)不等于总时间(7.82 ms)?
  • ContentPresenter7.5毫秒在做什么?