Inheritance: FragmentRootControlProvider
Beispiel #1
0
 public MonthCalendarButtonProvider(MonthCalendarDataGridProvider dataGridProvider,
                                    ButtonDirection direction)
     : base(dataGridProvider.Control)
 {
     this.dataGridProvider = dataGridProvider;
     this.direction        = direction;
 }
 public MonthCalendarListItemProvider(MonthCalendarDataGridProvider dataGridProvider,
                                      MonthCalendarProvider calendarProvider,
                                      Control control, DateTime date,
                                      int row, int col)
     : base(control)
 {
     this.dataGridProvider = dataGridProvider;
     this.calendarProvider = calendarProvider;
     this.date             = date;
     this.row = row;
     this.col = col;
 }
		public MonthCalendarListItemProvider (MonthCalendarDataGridProvider dataGridProvider,
		                                      MonthCalendarProvider calendarProvider,
		                                      Control control, DateTime date,
		                                      int row, int col)
			: base (control)
		{
			this.dataGridProvider = dataGridProvider;
			this.calendarProvider = calendarProvider;
			this.date = date;
			this.row = row;
			this.col = col;
		}
Beispiel #4
0
        public override void InitializeChildControlStructure()
        {
            base.InitializeChildControlStructure();

            childDataGrid = new MonthCalendarDataGridProvider(this);
            childDataGrid.Initialize();
            AddChildProvider(childDataGrid);

            // Don't ask me why, but Calendar needs to implement
            // Grid as well as the DataGrid child...
            SetBehavior(GridPatternIdentifiers.Pattern,
                        new GridProviderBehavior(childDataGrid));
            SetBehavior(TablePatternIdentifiers.Pattern,
                        new TableProviderBehavior(childDataGrid));
            SetBehavior(SelectionPatternIdentifiers.Pattern,
                        new SelectionProviderBehavior(childDataGrid));
        }
Beispiel #5
0
		public override void InitializeChildControlStructure ()
		{
			base.InitializeChildControlStructure ();

			childDataGrid = new MonthCalendarDataGridProvider (this);
			childDataGrid.Initialize ();
			AddChildProvider (childDataGrid);
			
			// Don't ask me why, but Calendar needs to implement
			// Grid as well as the DataGrid child...
			SetBehavior (GridPatternIdentifiers.Pattern,
			             new GridProviderBehavior (childDataGrid));
			SetBehavior (TablePatternIdentifiers.Pattern,
			             new TableProviderBehavior (childDataGrid));
			SetBehavior (SelectionPatternIdentifiers.Pattern,
			             new SelectionProviderBehavior (childDataGrid));
		}
		public MonthCalendarButtonProvider (MonthCalendarDataGridProvider dataGridProvider,
		                                    ButtonDirection direction)
			: base (dataGridProvider.Control)
		{
			this.dataGridProvider = dataGridProvider;
			this.direction = direction;
		}
Beispiel #7
0
		public TableProviderBehavior (MonthCalendarDataGridProvider provider)
			: base (provider)
		{
		}
		public SelectionProviderBehavior (MonthCalendarDataGridProvider provider)
			: base (provider)
		{
		}
		public SelectionPatternInvalidatedEvent (MonthCalendarDataGridProvider provider)
			: base (provider, 
			        SelectionPatternIdentifiers.InvalidatedEvent)
		{
			calendar = (SWF.MonthCalendar) provider.Control;
		}
		public SelectionPatternCanSelectMultipleEvent (MonthCalendarDataGridProvider provider)
			: base (provider, 
			        SelectionPatternIdentifiers.CanSelectMultipleProperty)
		{
			calendar = (SWF.MonthCalendar) provider.Control;
		}
Beispiel #11
0
		public GridProviderBehavior (MonthCalendarDataGridProvider provider)
			: base (provider)
		{
			this.provider = provider;
		}