PrimitiveShape 類別

衍生自 WPF:Shape 或 SL:Path 之 Shape 的平台中立實作。

提供衍生自平台 Shape 之 Shape 的 WPF 實作。

命名空間: Microsoft.Expression.Shapes
組件: Microsoft.Expression.Drawing (在 microsoft.expression.drawing.dll 中)

語法

'宣告
Public MustInherit Class PrimitiveShape
    Inherits Shape
    Implements IGeometrySourceParameters, IShape
'用途
Dim instance As PrimitiveShape
public abstract class PrimitiveShape : Shape, IGeometrySourceParameters, IShape
public ref class PrimitiveShape abstract : public Shape, IGeometrySourceParameters, IShape
public abstract class PrimitiveShape extends Shape implements IGeometrySourceParameters, IShape
public abstract class PrimitiveShape extends Shape implements IGeometrySourceParameters, IShape

繼承階層

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Media.Visual
         System.Windows.UIElement
           System.Windows.FrameworkElement
             System.Windows.Shapes.Shape
               Microsoft.Expression.Shapes.PrimitiveShape
                 Microsoft.Expression.Shapes.Arc
                 Microsoft.Expression.Shapes.BlockArrow
                 Microsoft.Expression.Shapes.RegularPolygon

執行緒安全性

此型別的所有公用靜態 (Visual Basic 中為 Shared ) 成員均為安全執行緒。任何例項成員則不保證為安全執行緒。

另請參閱

參照

PrimitiveShape 成員
Microsoft.Expression.Shapes 命名空間