ICustomDetailsView::GetItemExpansionState

Returns the current expansion state of an item. Returns true if the item state was found.