Represents a Binding converter that converts a WeekDaysEnum value to integer representations.

Namespace:  C1.Silverlight.Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
public class WeekDaysToIntConverter : IValueConverter
Visual Basic
Public Class WeekDaysToIntConverter _
	Implements IValueConverter

Remarks

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.

Inheritance Hierarchy

System..::..Object
  C1.Silverlight.Schedule..::..WeekDaysToIntConverter

See Also