DesignerActionMethodItem.RelatedComponent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a component that contributes its DesignerActionMethodItem objects to the current panel.
public:
property System::ComponentModel::IComponent ^ RelatedComponent { System::ComponentModel::IComponent ^ get(); void set(System::ComponentModel::IComponent ^ value); };
public System.ComponentModel.IComponent RelatedComponent { get; set; }
member this.RelatedComponent : System.ComponentModel.IComponent with get, set
Public Property RelatedComponent As IComponent
Property Value
The contributing component, which should have an associated designer that supplies items.
Remarks
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.