Sdílet prostřednictvím


ValueTranslationService.HasValueTranslation – metoda

Určuje, zda by Zadaná vlastnost pro zadaný typ přeložit.

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

Syntaxe

'Deklarace
Public MustOverride Function HasValueTranslation ( _
    itemType As Type, _
    identifier As PropertyIdentifier _
) As Boolean
public abstract bool HasValueTranslation(
    Type itemType,
    PropertyIdentifier identifier
)
public:
virtual bool HasValueTranslation(
    Type^ itemType, 
    PropertyIdentifier identifier
) abstract
abstract HasValueTranslation : 
        itemType:Type * 
        identifier:PropertyIdentifier -> bool 
public abstract function HasValueTranslation(
    itemType : Type, 
    identifier : PropertyIdentifier
) : boolean

Parametry

  • itemType
    Typ: System.Type
    Určit typ zda property by měly být přeloženy.

Vrácená hodnota

Typ: System.Boolean
true Pokud zadaná vlastnost překladu pro zadaný typ; jinak false.

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