fixed #658 remove InternalCanvas and add AxleCanvas

This commit is contained in:
NaBian committed 2021-01-31 17:03:22 +08:00
1 parent cdeab696f5
commit aa76d85be5
6 files changed
+70 -61

No files matched your search

@@ -3,12 +3,12 @@ using System.Windows.Controls;
namespace HandyControl.Controls
{
internal class InternalCanvas : Canvas
public class AxleCanvas : Canvas
{
internal static readonly DependencyProperty OrientationProperty = DependencyProperty.Register(
"Orientation", typeof(Orientation), typeof(InternalCanvas), new PropertyMetadata(default(Orientation)));
public static readonly DependencyProperty OrientationProperty = DependencyProperty.Register(
"Orientation", typeof(Orientation), typeof(AxleCanvas), new PropertyMetadata(default(Orientation)));
internal Orientation Orientation
public Orientation Orientation
{
get => (Orientation) GetValue(OrientationProperty);
set => SetValue(OrientationProperty, value);