Redigera

Dela via


DesignerActionMethodItem.RelatedComponent Property

Definition

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.

Applies to

See also