ValueTranslationService Class
Provides a mechanism for capturing property changes that are made by the user in the designer and providing new values at design time.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public MustInherit Class ValueTranslationService
'Usage
Dim instance As ValueTranslationService
public abstract class ValueTranslationService
public ref class ValueTranslationService abstract
public abstract class ValueTranslationService
Remarks
Normally, when a user changes a property value of an object in the designer, that value is set on the object in the designer. Custom control authors can insert custom logic into this process. The property value is translated from the value that the end user sets, to a new property value provided by the control author. For example, they want the user to be able to set the visible property of a control to false, but the control should still be visible at design time. The visible property is translated to true in the designer. These changes affect the designer only. At run time, the properties appear with the values set by the user.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Services.ValueTranslationService
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
ValueTranslationService Members
Microsoft.Windows.Design.Services Namespace
Other Resources
Walkthrough: Changing the Behavior of a Property at Design Time