/// <summary> /// Gets the type of the checkin group. /// </summary> /// <param name="groupType">Type of the group.</param> public void GetGroupTypeValues(GroupType groupType) { EnsureChildControls(); groupType.Name = _tbGroupTypeName.Text; // ensure checkin area types get additional options if (EnableCheckinOptions) { _rowLabel = "Check-in Area Name"; groupType.InheritedGroupTypeId = _ddlGroupTypeInheritFrom.SelectedValueAsId(); groupType.AttendanceRule = _ddlAttendanceRule.SelectedValueAsEnum <AttendanceRule>(); groupType.AttendancePrintTo = _ddlPrintTo.SelectedValueAsEnum <PrintTo>(); } // Reload Attributes groupType.Attributes = null; groupType.LoadAttributes(); Rock.Attribute.Helper.GetEditValues(_phGroupTypeAttributes, groupType); }