none
ItemsControl_ItemCollection RRS feed

  • 问题

  • 通过 TreeViewItem item = values[0] as TreeViewItem;
                ItemsControl ic = ItemsControl.ItemsControlFromItemContainer(item);

    可以获取item属于那个ItemsControl ;

    现在我要根据ItemCollection逆向获取ItemCollection属于那个ItemsControl ,该怎么实现


    Swat

    2014年4月24日 13:42

全部回复

  • 你好,

    对于你的问题, 据我所知,一般都是从ItemCollection中获取 ItemsControl, 怎么可以说 ItemCollection属于哪个ItemsControl呢,请再描述清楚一点,谢谢


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年5月1日 6:52
    版主