<PackageReference Include="System.ComponentModel.Primitives" Version="4.0.1-beta-23409" />

System.ComponentModel.ISite

public interface ISite : IServiceProvider
Provides functionality required by sites.

Gets the component associated with the ISite when implemented by a class.

Gets the IContainer associated with the ISite when implemented by a class.

bool DesignMode { get; }

Determines whether the component is in design mode when implemented by a class.

string Name { get; set; }

Gets or sets the name of the component associated with the ISite when implemented by a class.