public static void AddLabeledRadioList <T>(this Listing_Standard listing_Standard, string header, Dictionary <string, T> dict, ref T val, float?headerHeight = null) { listing_Standard.Gap(ListingStandardHelper.Gap); listing_Standard.AddLabelLine(header, headerHeight); listing_Standard.AddRadioList(ListingStandardHelper.GenerateLabeledRadioValues <T>(dict), ref val, null); }
public static void AddLabeledRadioList(this Listing_Standard listing_Standard, string header, string[] labels, ref string val, float?headerHeight = null) { listing_Standard.Gap(ListingStandardHelper.Gap); listing_Standard.AddLabelLine(header, headerHeight); listing_Standard.AddRadioList(ListingStandardHelper.GenerateLabeledRadioValues(labels), ref val, null); }