# Cognex.Designer.ExampleElement

The ExampleElement sample plugin provides a template for creating a custom Cognex Designer HMI element. Use it as follows:

1. Copy the Cognex.Designer.ExampleElement folder to the directory you are developing in.
2. Open Visual Studio as an Administrator.
3. Open the Cognex.Designer.ExampleElement solution in Visual Studio.

4. Develop and build your plugin.

   Tip: Use the MyLed.xaml.cs resource as a starting point to build more complex HMI elements for your plugin.

The built plugin will be available as a Cognex Designer plugin and will be located at the following location:

%ProgramData%\Cognex\Designer\Plugins\Samples\Cognex.Designer.ExampleElement

The plugin should consist of the following files: