Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void
예제 #1
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));
        }
예제 #2
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));
		}