8,756
社区成员




namespace System.Windows.Controls
{
public static class TreeViewExtensions
{
//
// 摘要:
// Get the TreeViewItem containers of a TreeView.
//
// 参数:
// view:
// The TreeView.
//
// 返回结果:
// The TreeViewItem containers of a TreeView.
//
// 异常:
// System.ArgumentNullException:
// view is null.
public static IEnumerable<TreeViewItem> GetDescendantContainers(this TreeView view);
//
// 摘要:
// Get the descendant TreeViewItem containers of a TreeViewItem.
//
// 参数:
// item:
// The TreeViewItem.
//
// 返回结果:
// The descendant TreeViewItem containers of a TreeViewItem.
//
// 异常:
// System.ArgumentNullException:
// item is null.
public static IEnumerable<TreeViewItem> GetDescendantContainers(this TreeViewItem item);
//
// 摘要:
// Get the item of the parent container for a specified item.
//
// 参数:
// view:
// The TreeView containing the item.
//
// item:
// The child item.
//
// 返回结果:
// The item of the parent container for the specified item, or null if not found.
public static object GetParentItem(this TreeView view, object item);
}
}