If the WeekDaysEnum value represents a combination of several flags, this converter will throw away extra flags and return an integer value corresponding to the single flag value. Use this converter to receive a valid value of the selected index in comboboxes which use WeekDaysEnum flags as the data source.