C# Wpf Shape类继承关系

Path派生于Shape

namespace System.Windows.Shapes
{

    public sealed class Path : Shape
    {
       // Path 派生于Shape
    }
}

Shape 派生于FrameworkElement

namespace System.Windows.Shapes
{
   //Shape 从FrameworkElement派生而来
    public abstract class Shape : FrameworkElement
    {
       
      
    

    }
}

FrameworkElement派生于UIElement

    public class FrameworkElement : UIElement, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
    {
    }

学习参考链接

最为详尽的WPF类继承关系  https://www.cnblogs.com/liulun/p/4200917.html

学习WPF——WPF布局——初识布局容器 https://www.cnblogs.com/liulun/p/4200917.html

原文地址:https://www.cnblogs.com/gradual/p/7815823.html