ContentPresenter layout pass

ε祈祈猫儿з 提交于 2019-12-10 14:59:45

问题


I am trying to profile wpf application (to speed up ListView displaying complex multi-column datatemplated items). And I have problem to understand figures in application timeline report:

Description says:

Here is this column template (xaml):

<GridViewColumn Header="Header">
    <GridViewColumn.CellTemplate>
        <DataTemplate>
            <StackPanel>
                <StackPanel Orientation="Horizontal">

Questions:

  • What means "Element" as a type of timeline item? Is it layout pass (as I understand it) or is it something else?
  • Why sum of children ( only one child = 0.33 ms) is not equal total time (7.82 ms) ?
  • What ContentPresenter was doing for 7.5 ms?

来源:https://stackoverflow.com/questions/38224212/contentpresenter-layout-pass

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!