ItemsControl, ItemsPanel and ItemsPresenter (Silverlight, XAML)

后端 未结 2 526
迷失自我
迷失自我 2021-02-05 07:58

I\'m utterly confused by these 3 terms, when to use which? What\'s the relationship and they are children of which controls?

Is it correct to say this is the tree:

2条回答
  •  自闭症患者
    2021-02-05 08:19

    I think that this pretty much explains how the things are done by Silverlight: ItemsPanelTemplate Class: Specifies the panel that the ItemsPresenter creates for the layout of the items of an ItemsControl. ItemsPanelTemplate Class