I think what you are looking for is ISupportInitialize read more on the Docs https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.isupportinitialize?view=net-8.0
It's made to allow you to control the initialization process for components, especially if certain properties depend on each other and need to be initialized in a specific order.