public DetourSelectionListItemStyle GetItemStyle(IListItem item) { return(new DetourSelectionListItemStyle() { ExpandPen = ExpandPenForItem(item), CheckPen = CheckPen, ExpandBrush = ExpandBrushForItem(item), CheckBrush = CheckBrushForItem(item), BackgroundBrush = BackgroundBrushForItem(item), Font = Font, TextColor = TextColor, Indent = item.GetLevel() * ItemIndent }); }