private void UnselectCategory(LogItemSchema item)
{
if (CategoryList.SelectedItems.Contains(item))
{
CategoryList.SelectedItems.Remove(item);
}
else
{
// might be a child category item...
foreach (var childList in childLists)
{
if (childList.SelectedItems.Contains(item))
{
childList.SelectedItems.Remove(item);
}
}
}
}