RelatedComponent Property
Collapse the table of content
Expand the table of content

DesignerActionMethodItem.RelatedComponent Property

Gets or sets a component that contributes its DesignerActionMethodItem objects to the current panel.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

public IComponent RelatedComponent { get; set; }
/** @property */
public IComponent get_RelatedComponent ()

/** @property */
public void set_RelatedComponent (IComponent value)

public function get RelatedComponent () : IComponent

public function set RelatedComponent (value : IComponent)

Not applicable.

Property Value

The contributing component, which should have an associated designer that supplies items.

The RelatedComponent property allows another component to lend its smart tag panel items to the current list. For example, a user control might aggregate the items from one of its constituent standard controls.

This property works in conjunction with the DesignerActionItem.AllowAssociate property.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2016 Microsoft