private static bool CanExpandProperty(MemberWrapper property) { Debug.Assert(property != null, "property != null"); if (!property.MayHaveChildren || !property.CanRead || !property.CanCreateWrapper || property.ValueIsNullOrUnavailable || property.ValueTypeIsParseableSystemType() || !(property.ValueAsString is string)) { return(false); } CellEditorData cellData = (CellEditorData)property.Tag; return(!cellData.HasNoChildren); }