As shown in the figure, I want to modify whether the sub process circulates and whether the sub process expands in the properties-panel. How should I implement the operation
In general, the properties panel always reflects what the underlying BPMN 2.0 XML defines. For example for the parallel loop characteristics
<bpmn:task id="Task_1">
<bpmn:multiInstanceLoopCharacteristics isSequential="true" />
</bpmn:task>
The replace menu is exactly setting those properties, e.g.
Implementing it inside the properties panel would probably mean using the same commands to set the correct properties in the XML.