Ink canvas allows us to directly write on our screen we write in paint with free hand. This is the one the most important layout introduced in the WPF. If we want to create application where we want to allow user to write something on scree directly then we can use ink canvas.
<Window x:Class="WpfApplication2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Tech Altum" Height="500" Width="700"> <InkCanvas></InkCanvas> </Window>
The output of this example is as follows:-
For any query you can send mail at firstname.lastname@example.org Thanks