private static void OnEventsChangedCallBack(DependencyObject sender, DependencyPropertyChangedEventArgs e) { CalendarMonth calendar = sender as CalendarMonth; if (calendar != null) { calendar.DrawDays(); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((WPF.EventCalendar.Example.MainWindow)(target)); return; case 2: this.Calendar = ((WPF.EventCalendar.CalendarMonth)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ScheduleView = ((MoneyManager.Main.Views.Schedule)(target)); return; case 2: this.Calendar = ((WPF.EventCalendar.CalendarMonth)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.monthPlans = ((System.Windows.Controls.Border)(target)); return; case 2: this.Calendar = ((WPF.EventCalendar.CalendarMonth)(target)); return; } this._contentLoaded = true; }
public CalendarEventView(SolidColorBrush color, CalendarMonth calendar) : this() { _calendar = calendar; DefaultBackfoundColor = BackgroundColor = color; }