Sdílet prostřednictvím


ValueTranslationService.GetProperties – metoda

Přepsat v odvozené třídě vrátí obsahující vlastnosti přeložit pro zadaný typ výčtu.

Obor názvů:  Microsoft.Windows.Design.Services
Sestavení:  Microsoft.Windows.Design.Interaction (v Microsoft.Windows.Design.Interaction.dll)

Syntaxe

'Deklarace
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>

Parametry

  • itemType
    Typ: System.Type
    Typ pro které chcete získat vlastnosti přeložit.

Vrácená hodnota

Typ: System.Collections.Generic.IEnumerable<PropertyIdentifier>
Výčet, která obsahuje vlastnosti přeložit zadaného typu.

Poznámky

Vlastní ovládací prvek autoři identifikovat vlastnosti, které mohou zachytit a přeložit pro zadaný typ jejich přidáním do Properties.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ValueTranslationService Třída

Microsoft.Windows.Design.Services – obor názvů

DesignModeValueProvider

Další zdroje

Walkthrough: Changing the Behavior of a Property at Design Time

WPF Designer Extensibility