Metodo ValueTranslationService.GetProperties

Sottoposto a override in una classe derivata, restituisce un'enumerazione che contiene le proprietà da convertire per il tipo specificato.

Spazio dei nomi:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
Public MustOverride Function GetProperties ( _
    itemType As Type _
) As IEnumerable(Of PropertyIdentifier)
public abstract IEnumerable<PropertyIdentifier> GetProperties(
    Type itemType
)
public:
virtual IEnumerable<PropertyIdentifier>^ GetProperties(
    Type^ itemType
) abstract
abstract GetProperties : 
        itemType:Type -> IEnumerable<PropertyIdentifier> 
public abstract function GetProperties(
    itemType : Type
) : IEnumerable<PropertyIdentifier>

Parametri

  • itemType
    Tipo: System.Type
    Tipo per il quale ottenere le proprietà da convertire.

Valore restituito

Tipo: System.Collections.Generic.IEnumerable<PropertyIdentifier>
Enumerazione che contiene le proprietà da convertire per un tipo specificato, se disponibile.

Note

Gli autori dei controlli personalizzati identificano le proprietà che desiderano acquisire e convertire per un tipo specificato aggiungendole a Properties.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ValueTranslationService Classe

Spazio dei nomi Microsoft.Windows.Design.Services

DesignModeValueProvider

Altre risorse

Procedura dettagliata: modifica del comportamento di una proprietà in fase di progettazione

Estensibilità di Progettazione WPF