DesignerActionMethodItem::RelatedComponent Property
.NET Framework (current version)
Gets or sets a component that contributes its DesignerActionMethodItem objects to the current panel.
Assembly: System.Design (in System.Design.dll)
public: property IComponent^ RelatedComponent { IComponent^ get(); void set(IComponent^ value); }
Property Value
Type: System.ComponentModel::IComponent^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.
.NET Framework
Available since 2.0
Available since 2.0
Show: