Hello stackoverflowers,
I made a class CustomCanvas that inherit from System.Windows.Controls.Canvas. In a ViewModel, i have an instance of CustomCanvas.
I would like to bind the control CustomCanvas in the XAML (see below how i used it in XAML) to the instance of CustomCanvas from the view model in order to have inserts in Canvas.Children displayed on screen. How can i achieve that ?
<Contents:CanvasCustom
Background="#00000000"
x:Name="SuperCanvas"
Width="650"
Height="450">
</Contents:CanvasCustom>