DesignerActionMethodItem.MemberName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the name of the method that this DesignerActionMethodItem is associated with.

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

public virtual string MemberName { get; }

Property Value

Type: System.String

A String that contains the name of the associated method.

The MemberName property specifies which property, in the class derived from the DesignerActionList class, that the item should be bound to. When the programmer interacts with the panel item through the user interface (UI), this associated property will be set.

The bound method should neither take parameters nor return a value.

This property is set in the constructor. It is case-sensitive.

.NET Framework
Available since 2.0
Return to top