I've made this user control and it works well, I'm trying to covert it to a Custom Control, but I can't hook up my handler to those 3 events.
any help will be appreciated.
<Canvas x:Class="SMFU.UserControls.Public.MovableChildCanvas"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SMFU.UserControls.Public"
mc:Ignorable="d"
Height="auto" Width="auto"
Background="Transparent"
MouseLeftButtonDown="canvas_MouseLeftButtonDown"
MouseLeftButtonUp="canvas_MouseLeftButtonUp"
MouseMove="canvas_MouseMove" >
</Canvas>