/// <summary> /// Instantiate EntityTypeElementListCompartment so we can control FontSetting style for the list item. /// </summary> /// <returns></returns> public override Compartment CreateCompartment(Partition partition) { var compartment = new EntityTypeElementListCompartment(partition); if (IsDefaultCollapsed) { compartment.IsExpanded = false; } return compartment; }
/// <summary> /// Instantiate EntityTypeElementListCompartment so we can control FontSetting style for the list item. /// </summary> /// <returns></returns> public override Compartment CreateCompartment(Partition partition) { var compartment = new EntityTypeElementListCompartment(partition, _isScalarPropertiesCompartment); if (IsDefaultCollapsed) { compartment.IsExpanded = false; } return(compartment); }