Udostępnij za pośrednictwem


ElementPropertyDescriptor.ComponentType Property

Definition

The type of component the framework expects for this property. Notice this returns element.GetType(). That is because the object that is being browsed when this property is shown is an ModelElement. So we are faking the PropertyGrid into thinking this is a property on that type, even though it isn't.

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

Property Value

Applies to