DisplayPropertyAttribute-Konstruktor (String, Type)

Initialisiert eine neue Instanz der DisplayPropertyAttribute-Klasse mit dem angegebenen Eigenschaftennamen und Wertkonverter.

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

Syntax

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

Parameter

  • displayPropertyName
    Typ: System.String
    Der Name der Eigenschaft, die in einem Designer für die Anzeige verwendet werden soll.
  • valueConverterType
    Typ: System.Type
    Der Typ des Wertkonverters.

.NET Framework-Sicherheit

Siehe auch

Referenz

DisplayPropertyAttribute Klasse

DisplayPropertyAttribute-Überladung

Microsoft.Windows.Design-Namespace