Share via


ListItem.SiblingListItems プロパティ

定義

現在の ListItemCollection 要素の兄弟である ListItem 要素を格納する ListItem を取得します。

public:
 property System::Windows::Documents::ListItemCollection ^ SiblingListItems { System::Windows::Documents::ListItemCollection ^ get(); };
public System.Windows.Documents.ListItemCollection SiblingListItems { get; }
member this.SiblingListItems : System.Windows.Documents.ListItemCollection
Public ReadOnly Property SiblingListItems As ListItemCollection

プロパティ値

ListItemCollection

現在の ListItemCollection 要素の親が直接ホストする子 ListItem 要素を格納する ListItem。現在の ListItem 要素に親がない場合は null

注釈

ListItemCollectionこのプロパティによって返される要素には、コレクションにアクセスする要素が含まれますListItem。つまり、このプロパティを所有する要素は、兄弟のコレクションを生成する目的で独自の兄弟と見なされます。

適用対象

こちらもご覧ください