C# Class Microsoft.Samples.KMoore.WPFSamples.DateControls.DayHeaderConverter

DayHeaderConverter converts to FirstDayOfWeek and offset to the correct DayOfWeek value
Inheritance: IValueConverter
显示文件 Open project: daszat/zetbox

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

convert FirstDayOfWeek and offset to the correct DayOfWeek value

ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Not supported

Method Details

Convert() public method

convert FirstDayOfWeek and offset to the correct DayOfWeek value
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object DayOfWeek
targetType System.Type DayOfWeek
parameter object 0~6, column index of each month
culture System.Globalization.CultureInfo CultureInfo
return object

ConvertBack() public method

Not supported
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object