Share via


ValueTranslationService.HasValueTranslation Method

Determines whether the specified property should be translated for the specified type.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

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

Parameters

  • itemType
    Type: System.Type
    The type for which to determine whether property should be translated.

Return Value

Type: System.Boolean
true if the specified property should be translated for the specified type; otherwise, false.

.NET Framework Security

See Also

Reference

ValueTranslationService Class

Microsoft.Windows.Design.Services Namespace

DesignModeValueProvider

Other Resources

Walkthrough: Changing the Behavior of a Property at Design Time

WPF Designer Extensibility