Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ElementCompositionPreview.SetIsTranslationEnabled(UIElement, Boolean) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Toggles the ability to set, animate, and use a render-time post-layout translate transform to position XAML elements on screen using Composition APIs.

public:
 static void SetIsTranslationEnabled(UIElement ^ element, bool value);
 static void SetIsTranslationEnabled(UIElement const& element, bool const& value);
public static void SetIsTranslationEnabled(UIElement element, bool value);
function setIsTranslationEnabled(element, value)
Public Shared Sub SetIsTranslationEnabled (element As UIElement, value As Boolean)

Parameters

element
UIElement

The element on which to enable or disable translate transforms.

value
Boolean

bool

true to enable translate transforms; false to disable translate transforms.

Applies to


Feedback

Was this page helpful?