$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
PageView WinForms Control
Create slick looking tab strip or panel, overlapping tabs, organize content, insert images into items
Home > WinForms UI Controls > User Manual > Add New Strip Items in C#

PageView Item for Creating New Page in C#.NET

KetticPageView .NET component provides the support of creating a new page at run time for the end user. This is accomplished by clicking the NewPageItem included in the control. This NewPageItem is able to fire an event for the users of the KetticPageView control to determine a specific action, like creating a new KetticPageViewPage.

Enable the NewPageItem in C#.NET

The NewPageItem can be enabled by configuring the NewPageItemVisibility property of the KetticPageViewStripElement. The NewPageItemVisibility property is an enumeration type and has valid values, including, Hidden, Front, and End.
  • Hidden, this value is used to hide the NewPageItem in the items strip area and is the default value.
  • Front, this value is used to display the NewPageItem in front of the other page items in the items strip area.
  • End, this value is used to display the NewPageItem at the end of the row of page items in the items strip area.
The C# code below demonstrate how to customize the NewPageItemVisibility property,

KetticPageViewStripElement stripElement = this.ketticPageView1.ViewElement as KetticPageViewStripElement;
stripElement.NewPageItemVisibility = StripViewNewPageItemVisibility.End;

Create New Page using NewPageItem Event in C#.NET

To create a new PageViewPage, the end users need to click the NewPageItem, which will fire the NewPageRequest event. Then, the users can create a new KetticPageViewPage instance and add the instance to KetticPageView. To make the item fully visible, we should call the ItemVisible method. The C# code below demonstrates how to accomplish this.

void ketticPageView1_NewPageRequest(object sender, EventArgs e)
{
KetticPageView pageView = sender as KetticPageView;
KetticPageViewStripElement stripElement = pageView.ViewElement as KetticPageViewStripElement;

KetticPageViewPage page = new KetticPageViewPage();
page.Text = "A New Page";
pageView.Pages.Add(page);

pageView.SelectedPage = page;
pageView.ViewElement.ItemVisible(stripElement.NewPageItem);
}

UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls