Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the DisplayPropertyAttribute class with the specified property name and value converter.
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
)
Parameters
- displayPropertyName
Type: System.String
The name of the property to use for display in a designer.
- valueConverterType
Type: System.Type
The type of the value converter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DisplayPropertyAttribute Class