[UWP][VB][XAML]TranslateTransform Only Translates Children In Grid RRS feed

  • Question

  • I have a Grid that uses a TranslateTransform as follows:
    <Grid x:Name="grdNavigation" Background="DimGray" VerticalAlignment="Bottom" Height="83">
    	<Grid.RenderTransform><TranslateTransform Y="63"/></Grid.RenderTransform>

    When I attempt to programmatically change the TranslateTransform.Y value in my codebehind, it sometimes translates the children, but not the actual Grid. The Grid has a distinct Background & fixed Height, so I can clearly this because the children move, changing the amount of space between the top of the children and the edge of the Grid. However, in other places (in the same app using the same Grid & code) the entire Grid does move. What could be causing this? Thanks.

    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    • Moved by Alex-KSGZ Thursday, February 6, 2020 5:42 AM
    Monday, January 20, 2020 6:11 AM

All replies

  • Hi,

    If your issue is more related about UWP,ask in the following forum.


    Best Regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, January 21, 2020 3:08 AM