/// <summary> /// default constructor /// </summary> public Form1() { InitializeComponent(); RadPageViewOutlookElement outlookStyle = this.radPanelBar1.ViewElement as RadPageViewOutlookElement; outlookStyle.HideItems(3); this.radGridView1.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; this.radGridView2.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; }
void Form1_Load(object sender, EventArgs e) { this.radCalendar1.InvalidateCalendar(); RadPageViewOutlookElement outlookElement = this.radPageView1.ViewElement as RadPageViewOutlookElement; for (int i = 0; i < this.radPageView1.Pages.Count; i++) { outlookElement.DragGripDown(); } }