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.
- identifier
Type: Microsoft.Windows.Design.Metadata.PropertyIdentifier
An identifier for the property to be checked.
Return Value
Type: System.Boolean
true if the specified property should be translated for the specified type; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Services Namespace
Other Resources
Walkthrough: Changing the Behavior of a Property at Design Time