Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Inicializa uma nova instância de DisplayPropertyAttribute classe com a propriedade especificada nome e valor conversor.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Interaction (em Microsoft.Windows.Design.Interaction.dll)
Sintaxe
'Declaração
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
)
Parâmetros
- displayPropertyName
Tipo: System.String
O nome da propriedade a ser usado para exibição em um designer.
- valueConverterType
Tipo: System.Type
O tipo de conversor de valor.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.
Consulte também
Referência
DisplayPropertyAttribute Classe