C# Class Itenso.CalendarPeriodCollector.CollectorViewModel

Inheritance: ViewModel, INotifyPropertyChanged, ICommandHandler
Show file Open project: jwg4/date-difference Class Usage Examples

Public Properties

Property Type Description
CollectDayEndProperty System.Windows.DependencyProperty
CollectDayStartProperty System.Windows.DependencyProperty
CollectHourEndProperty System.Windows.DependencyProperty
CollectHourStartProperty System.Windows.DependencyProperty
CollectMonthEndProperty System.Windows.DependencyProperty
CollectMonthStartProperty System.Windows.DependencyProperty
CollectorStatusProperty System.Windows.DependencyProperty
CopyToClipboardProperty System.Windows.DependencyProperty
LastCollectionDateProperty System.Windows.DependencyProperty
WorkingPeriodEndDateProperty DependencyProperty
WorkingPeriodEndHourProperty DependencyProperty
WorkingPeriodStartDateProperty DependencyProperty
WorkingPeriodStartHourProperty DependencyProperty
WorkingTimePeriodProperty DependencyProperty

Private Properties

Property Type Description
Clear void
Collect void
ICommandHandler bool
ICommandHandler void
ResetStatus void
ResetWorkingPeriod void
SelectPeriod void
SetWorkingPeriod void
UpdateCommands void
UpdateWorkingPeriodMode void
WorkingPeriodLimitsChanged void
WorkingTimePeriodModeChanged void

Public Methods

Method Description
CollectorViewModel ( ) : System

Private Methods

Method Description
Clear ( ClearType clearType ) : void
Collect ( CollectType collectType ) : void
ICommandHandler ( ICommand command, object parameter, object context ) : bool
ICommandHandler ( ICommand command, object parameter, object context ) : void
ResetStatus ( ) : void
ResetWorkingPeriod ( ) : void
SelectPeriod ( PeriodSelectType periodSelectType ) : void
SetWorkingPeriod ( ITimePeriod timeRange ) : void
UpdateCommands ( ) : void
UpdateWorkingPeriodMode ( ) : void
WorkingPeriodLimitsChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
WorkingTimePeriodModeChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

CollectorViewModel() public method

public CollectorViewModel ( ) : System
return System

Property Details

CollectDayEndProperty public static property

public static DependencyProperty,System.Windows CollectDayEndProperty
return System.Windows.DependencyProperty

CollectDayStartProperty public static property

public static DependencyProperty,System.Windows CollectDayStartProperty
return System.Windows.DependencyProperty

CollectHourEndProperty public static property

public static DependencyProperty,System.Windows CollectHourEndProperty
return System.Windows.DependencyProperty

CollectHourStartProperty public static property

public static DependencyProperty,System.Windows CollectHourStartProperty
return System.Windows.DependencyProperty

CollectMonthEndProperty public static property

public static DependencyProperty,System.Windows CollectMonthEndProperty
return System.Windows.DependencyProperty

CollectMonthStartProperty public static property

public static DependencyProperty,System.Windows CollectMonthStartProperty
return System.Windows.DependencyProperty

CollectorStatusProperty public static property

public static DependencyProperty,System.Windows CollectorStatusProperty
return System.Windows.DependencyProperty

CopyToClipboardProperty public static property

public static DependencyProperty,System.Windows CopyToClipboardProperty
return System.Windows.DependencyProperty

LastCollectionDateProperty public static property

public static DependencyProperty,System.Windows LastCollectionDateProperty
return System.Windows.DependencyProperty

WorkingPeriodEndDateProperty public static property

public static DependencyProperty WorkingPeriodEndDateProperty
return DependencyProperty

WorkingPeriodEndHourProperty public static property

public static DependencyProperty WorkingPeriodEndHourProperty
return DependencyProperty

WorkingPeriodStartDateProperty public static property

public static DependencyProperty WorkingPeriodStartDateProperty
return DependencyProperty

WorkingPeriodStartHourProperty public static property

public static DependencyProperty WorkingPeriodStartHourProperty
return DependencyProperty

WorkingTimePeriodProperty public static property

public static DependencyProperty WorkingTimePeriodProperty
return DependencyProperty