| Description | When working with the User Control style. When TranslateTransform is bound to an element property, then in Blend the layout is updated under the change of this property. But in Unity, the binding seems to disappear and TranslateTransform does not work. There are no errors in the logs. |
|---|
| Steps To Reproduce | <Style TargetType="{x:Type local_windows:BaseLocalWindow}">
<Setter Property="Width" Value="320" />
<Setter Property="Height" Value="430" />
<Setter Property="Background" Value="{DynamicResource LowerLevel}" />
<Setter Property="RenderTransform">
<Setter.Value>
<TransformGroup>
<TranslateTransform
X="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local_windows:BaseLocalWindow},
Path=OffsetX, Mode=OneWay}"
Y="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local_windows:BaseLocalWindow},
Path=OffsetY, Mode=OneWay}" />
</TransformGroup>
</Setter.Value>
</Setter>
</Style> |
|---|