public override void GetProperties(ObjectPropertyList list) { LocalizedText nameProperty = GetNameProperty(); nameProperty.AddTo(list); if (DisplayWeight) { AddWeightProperty(list); } }