Hey there, I have:
this.onePX.To = 64;
With the XAML:
<Rectangle Width="32" Height="32" Fill="Black" x:Name="onePX" Grid.Column="0" Grid.Row="0">
<Rectangle.RenderTransform>
<TranslateTransform />
</Rectangle.RenderTransform>
</Rectangle>
but for some reason, it returns with:
System.Windows.Shapes.Rectangle does not contain a definition for "To" and no extension method "To"
...
Any idea why this could be happening, I tried to Google it, but searching for ".To" doesn't exactly yield accurate results ^.^