interface ISite

in global :: System . ComponentModel

Provides functionality required by sites.


public IComponent Component { get; }

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

  • Returns The instance associated with the .

public IContainer Container { get; }

Gets the associated with the when implemented by a class.

  • Returns The instance associated with the .

public bool DesignMode { get; }

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

  • Returns if the component is in design mode; otherwise, .

public string Name { get; set; }

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

  • Returns The name of the component associated with the ; or , if no name is assigned to the component.