Step 1 of 3: Creating an Application with a C1Expander Control

In this step, you'll begin in Visual Studio to create a WPF application using Expander for WPF.

Complete the following steps:

1.   In Visual Studio 2008, select File | New | Project.

2.   In the New Project dialog box, select a language in the left pane, and in the templates list select WPF Application. Enter a Name for your project and click OK.

3.   Navigate to the Toolbox and double-click the C1Expander icon to add the control to the project. The XAML markup resembles the following:

4.   Click the C1Expander control to select it.

5.   In the Properties window, set the following properties:

      Set the Height property to "75".

      Set the Width property to "140".

      Set the Header property to "Expander Quick Start".

      Set the Background property to Aqua.

      Set the ExpandDirection property to Up.

In this step, you customized the appearance and behavior of the C1Expander control. In the next step, you will add content to the control. 


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.