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
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for