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