Creating a WPF Project in Visual Studio / Using ComponentOne Templates
In This Topic
Using ComponentOne Templates
In This Topic

ComponentOne WPF Edition provides predefined project templates to create and configure WPF applications in Visual Studio. These project templates get registered in Visual Studio after the ComponentOne Studio installer is run to install WPF Edition. ComponentOne project template provides several benefits over Visual Studio templates as it automatically adds the required resources to the project as listed below:

Note: Considering the diverse computing standards and code-related requirement, ComponentOne project templates are supported in Visual Studio 2015 and above.

ComponentOne templates provide simple WPF applications that include our control references to reduce the manual work in project creation. The table below lists the C1 WPF project templates available in both Visual C# and Visual Basic programming languages.

Project Template Framework Assemblies Description
WPF Blank App .NET Framework 4.6.2
  • C1.WPF
  • C1.WPF.Theming
  • C1.WPF.Theming.C1Blue
Creates an empty WPF application which supports C1 themes.
WPF Docking App .NET Framework 4.6.2
  • C1.WPF
  • C1.WPF.Docking
  • C1.WPF.Extended
Creates a WPF application showing tabbed window panes and menus having docking capability.
WPF GridWithMenu App .NET Framework 4.6.2
  • C1.WPF
  • C1.WPF.FlexGrid
  • C1.WPF.FlexGrid.GroupPanel
  • C1.WPF.FlexGridFilter
  • C1.WPF.Toolbar

Creates a WPF application with menu and FlexGrid to provide you with a ribbon style menu template along with a grid to add data.

WPF RichTextBox App .NET Framework 4.6.2
  • C1.WPF.4
  • C1.WPF.RichTextBox.4
  • C1.WPF.RichTextBox.Toolbar.4
  • C1.WPF.Theming.4
  • C1.WPF.Theming.Office2016.4
  • C1.WPF.Theming.Office2016Black.4
  • C1.WPF.Toolbar.4
Creates a WPF application with RichTextBox, Theme, and Menu control to provide you with a ribbon style menu template with a rich text box.

Complete the following steps to create a WPF project in Visual Studio using ComponentOne project templates:

  1. Open Visual Studio 2022.
  2. Select the Create a new project option from the Get started pane.
  3. Select the programming language from the languages drop-down list, as per your requirements, such as C# or Visual Basic.
  4. Select Windows from the platforms drop-down list to view the associated templatesand and then select C1 option from the Project Types drop-down list to view the available ComponentOne templates, as shown in the following image.

    C1 WPF Project Templates

  5. Select the required template for your WPF application, such as, WPF Blank App 4.6.2 (C#).
  6. Specify the Project name, Location, Solution name, and then click Create to create a new WPF project.

    C1 WPF Project Templates

See Also