DesignerActionPropertyItem.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 items 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; }
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 DesignerActionItem objects.
Remarks
With the RelatedComponent property, another component can lend its pull-model panel items to the current list. For example, a user control might aggregate the DesignerActionItem objects from one or more of its constituent controls.
This property works in conjunction with the DesignerActionItem.AllowAssociate property.