Share via


DisplayPropertyAttribute Constructor (String)

Initializes a new instance of the DisplayPropertyAttribute class with the specified property name.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    displayPropertyName As String _
)
public DisplayPropertyAttribute(
    string displayPropertyName
)
public:
DisplayPropertyAttribute(
    String^ displayPropertyName
)
new : 
        displayPropertyName:string -> DisplayPropertyAttribute
public function DisplayPropertyAttribute(
    displayPropertyName : String
)

Parameters

  • displayPropertyName
    Type: System.String
    The name of the property to use for display in a designer.

.NET Framework Security

See Also

Reference

DisplayPropertyAttribute Class

DisplayPropertyAttribute Overload

Microsoft.Windows.Design Namespace