How to make component to appear inline in blueprint for Actors

If I have a UPROPERTY of type UPrimitiveComponent in any derived class from USceneComponent the primitive component appears inline. I want the same behaviour for for any class derived from AActor

UPROPERTY(EditDefaultsOnly,BlueprintReadOnly,Category=“Test”)
UPrimitiveComponent* Primitive;