ElementPropertyDescriptor.ComponentType 属性

定义

框架需要此属性的组件类型。 请注意,此返回元素。GetType () 。 这是因为在显示此属性时要浏览的对象是一个 ModelElement。 因此,我们伪装 PropertyGrid 认为这是该类型的属性,即使它不是这样。

public:
 virtual property Type ^ ComponentType { Type ^ get(); };
public override Type ComponentType { get; }
member this.ComponentType : Type
Public Overrides ReadOnly Property ComponentType As Type

属性值

Type

适用于