C# Class Zetbox.Client.Presentables.Calendar.CalendarWorkspaceViewModel

Inheritance: Zetbox.Client.Presentables.WindowViewModel, IDeleteCommandParameter, IRefreshCommandListener
Afficher le fichier Open project: daszat/zetbox

Méthodes publiques

Свойство Type Description
Colors string[]

Private Properties

Свойство Type Description
IRefreshCommandListener void
_WeekCalender_PropertyChanged void
calendarItem_PropertyChanged void

Méthodes publiques

Méthode Description
CalendarWorkspaceViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, Func rptFactory ) : System
CanNew ( ) : bool
CanNewReason ( ) : string
CanOpen ( ) : bool
CanOpenReason ( ) : string
ClearAll ( ) : void
Delete ( ) : void
New ( ) : void
New ( System.DateTime selectedDate, bool isAllDay ) : void
Open ( ) : void
Open ( EventViewModel evt ) : void
PrintMonth ( ) : void
PrintSheet ( ) : void
PrintThisWeek ( ) : void
PrintToday ( ) : void
PrintTwoWeeks ( ) : void
SelectAll ( ) : void

Méthodes protégées

Méthode Description
CreateCommands ( ) : System.Collections.ObjectModel.ObservableCollection
ExtractItem ( Zetbox.App.Calendar cal, CalendarConfigurationList config ) : CalendarConfiguration
GetSavedConfig ( ) : CalendarConfigurationList
Print ( System.DateTime from, System.DateTime to ) : void
SaveConfig ( CalendarConfigurationList config ) : void

Private Methods

Méthode Description
IRefreshCommandListener ( ) : void
_WeekCalender_PropertyChanged ( object sender, System e ) : void
calendarItem_PropertyChanged ( object sender, System e ) : void

Method Details

CalendarWorkspaceViewModel() public méthode

public CalendarWorkspaceViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, Func rptFactory ) : System
appCtx IViewModelDependencies
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ViewModel
rptFactory Func
Résultat System

CanNew() public méthode

public CanNew ( ) : bool
Résultat bool

CanNewReason() public méthode

public CanNewReason ( ) : string
Résultat string

CanOpen() public méthode

public CanOpen ( ) : bool
Résultat bool

CanOpenReason() public méthode

public CanOpenReason ( ) : string
Résultat string

ClearAll() public méthode

public ClearAll ( ) : void
Résultat void

CreateCommands() protected méthode

protected CreateCommands ( ) : System.Collections.ObjectModel.ObservableCollection
Résultat System.Collections.ObjectModel.ObservableCollection

Delete() public méthode

public Delete ( ) : void
Résultat void

ExtractItem() protected méthode

protected ExtractItem ( Zetbox.App.Calendar cal, CalendarConfigurationList config ) : CalendarConfiguration
cal Zetbox.App.Calendar
config CalendarConfigurationList
Résultat CalendarConfiguration

GetSavedConfig() protected méthode

protected GetSavedConfig ( ) : CalendarConfigurationList
Résultat CalendarConfigurationList

New() public méthode

public New ( ) : void
Résultat void

New() public méthode

public New ( System.DateTime selectedDate, bool isAllDay ) : void
selectedDate System.DateTime
isAllDay bool
Résultat void

Open() public méthode

public Open ( ) : void
Résultat void

Open() public méthode

public Open ( EventViewModel evt ) : void
evt EventViewModel
Résultat void

Print() protected méthode

protected Print ( System.DateTime from, System.DateTime to ) : void
from System.DateTime
to System.DateTime
Résultat void

PrintMonth() public méthode

public PrintMonth ( ) : void
Résultat void

PrintSheet() public méthode

public PrintSheet ( ) : void
Résultat void

PrintThisWeek() public méthode

public PrintThisWeek ( ) : void
Résultat void

PrintToday() public méthode

public PrintToday ( ) : void
Résultat void

PrintTwoWeeks() public méthode

public PrintTwoWeeks ( ) : void
Résultat void

SaveConfig() protected méthode

protected SaveConfig ( CalendarConfigurationList config ) : void
config CalendarConfigurationList
Résultat void

SelectAll() public méthode

public SelectAll ( ) : void
Résultat void

Property Details

Colors public_oe static_oe property

public static string[] Colors
Résultat string[]