Share via


ValueTranslationService.GetProperties Method

When overridden in a derived class, returns an enumeration that contains the properties to translate 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 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>

Parameters

  • itemType
    Type: System.Type
    The type for which to get the properties to translate.

Return Value

Type: System.Collections.Generic.IEnumerable<PropertyIdentifier>
An enumeration that contains the properties to translate for a specified type, if any.

Remarks

Custom control authors identify the properties that they want to capture and translate for a specified type by adding them to Properties.

.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