Prerequisites
- Visual Studio 2015
- <Grid>
- <InkCanvas x:Name="inkCanvas" ></InkCanvas>
- </Grid>
Step 1 Create Windows Universal Project
Open Visual Studio 2015 and click File -> New -> Project Option for New Universal app.

Step 2 Giving the Project Name
Now, new Project Window will open. You can select an Installed -> Template -> Visual C# -> Windows -> Universal and select a Blank app (Universal Windows).
Type project name InkCanvas and click OK button.

Step 3 Setting the platform Versions
Here, we choose the Target Version, Minimum Version for our Universal Windows Application and click OK button.

Step 4 Choose Designer Window
Now, we go to Solution Explorer and select MainPage.xaml.

Step 5 Designing the App
Drag the InkControl Control from the tool box and change the name to Inkcontrol1 in the Property Window.

Step 6 Add the Coding
Now, we add C# code, given below in MainPage.xaml.cs.
- public MainPage()
- {
- this.InitializeComponent();
- InkCanvas1.InkPresenter.InputDeviceTypes = Windows.UI.Core.CoreInputDeviceTypes.Mouse | Windows.UI.Core.CoreInputDeviceTypes.Pen;
- }






Join the conversation! Your thoughts help the community grow.