Version

Adding xamOrgChart to Your Application

This topic explains the requirements for adding xamOrgChart™ control and provides an overview of the adding procedure. At the end, links to detailed instructions are provided (covering both XAML and procedural C#/ VB code).

Preview

Following is a preview of the end result generated by the sample code (provided in the topics listed in the Detailed Instructions section below):

xamOrgChart Adding xamOrgChart 01.png

Figure 1: Example implementation of the xamOrgChart control

Requirements

To add the control, you need:

  • A Microsoft® WPF™ application.

  • The following NuGet package reference added to your project:

    • Infragistics.WPF.OrgChart

  • An object data model

For more information on setting up the NuGet feed and adding NuGet packages, you can take a look at the following documentation: NuGet Feeds.

The topics providing the Detailed Instructions (see below) use a simple sample data object model, but you can create your own and use it instead. (The sample data model can be downloaded here – Department View Model.)

Overview

Conceptual overview of the procedure for Adding xamOrgChart to Your Application:

  1. Adding the xamOrgChart control to your application and binding it to the data model.

  2. Adding Node Layouts to the Org Chart.

Detailed Instructions

For detailed instructions about adding xamOrgChart, together with full code samples, see the following topics: